Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Dog
- attr_reader :species
- def initialize
- @species = species
- end
- def species=(species)
- @species = species
- end
- end
- Dog.new.species
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement