Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Struct/members-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns an array of strings representing the names of the instance variables.
- !ruby/struct:SM::Flow::VERB
body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.members #=> ["name", "address", "zip"]\n"
full_name: Struct#members
is_singleton: false
name: members
params: |
struct.members => array
visibility: public