PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Struct
--- !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
[-] members-i.yaml
[edit]
[-] size-i.yaml
[edit]
[-] pretty_print_cycle-i.yaml
[edit]
[-] to_yaml-i.yaml
[edit]
[-] values_at-i.yaml
[edit]
[-] hash-i.yaml
[edit]
[-] pretty_print-i.yaml
[edit]
[-] %5b%5d%3d-i.yaml
[edit]
[-] cdesc-Struct.yaml
[edit]
[-] values-i.yaml
[edit]
[-] each_pair-i.yaml
[edit]
[-] inspect-i.yaml
[edit]
[-] %3d%3d-i.yaml
[edit]
[-] %5b%5d-i.yaml
[edit]
[-] to_a-i.yaml
[edit]
[-] yaml_new-c.yaml
[edit]
[-] eql%3f-i.yaml
[edit]
[-] length-i.yaml
[edit]
[+]
..
[-] select-i.yaml
[edit]
[-] each-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] yaml_tag_class_name-c.yaml
[edit]
[-] to_s-i.yaml
[edit]
[-] yaml_tag_read_class-c.yaml
[edit]