Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/Struct/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new - !ruby/object:RI::MethodSummary name: yaml_tag_class_name - !ruby/object:RI::MethodSummary name: yaml_tag_read_class comment: - !ruby/struct:SM::Flow::P body: A <tt>Struct</tt> is a convenient way to bundle a number of attributes together, using accessor methods, without having to write an explicit class. - !ruby/struct:SM::Flow::P body: The <tt>Struct</tt> class is a generator of specific classes, each one of which is defined to hold a set of variables and their accessors. In these examples, we'll call the generated class ``<em>Customer</em>Class,'' and we'll show an example instance of that class as ``<em>Customer</em>Inst.'' - !ruby/struct:SM::Flow::P body: In the descriptions that follow, the parameter <em>symbol</em> refers to a symbol, which is either a quoted string or a <tt>Symbol</tt> (such as <tt>:name</tt>). constants: [] full_name: Struct includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_pair - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: members - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: values - !ruby/object:RI::MethodSummary name: values_at name: Struct superclass: Object