RUBY - Motorola Solutions LaunchPad Developer Community
RUBY - Motorola Solutions LaunchPad Developer Community
RUBY - Motorola Solutions LaunchPad Developer Community
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ObjectsAttributesHow do we access attributes?Attribute readers and writers• class Personattr_reader :namedef initialize(name)@name = nameendendp = Person.new(“Gareth”)puts p.name