From: tom mr Date: 2012-12-11T08:28:28+09:00 Subject: Need a little help Hey Guys, New to ruby & working on a few tutorials & I'm having trouble with getting the following code to work & I can't figure out why? class Animal attr_accessor :name attr_writer :color attr_reader :legs, :arms def setup_limbs @legs = 4 @arms = 0 end def noise=(noise) @noise = noise end def color "The color is #{@color}." end end animala = Animal.new animala.setup_limbs animala.noise = "Moo!" animala.name = "Steve" puts animala.name animala.color = "black" puts animala.color puts animala.legs puts animala.noise animalb = Animal.new animalb.noise = "Quack!" puts animalb.noise I've double checked the tutorial (video) & every piece seems to be correct but where the tutorial works in the video I can't! Thanks, Tom -- Posted via http://www.ruby-forum.com/.