Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (3 sloc) 163 Bytes
#defines initalize method that takes parameters in order creates attr_accessor methods (strut stands for structure)
Puppy = Struct.new(:name, :breed, :age) do
end