Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Shirt
- def initialize(c)
- @color = c
- end
- def number_of_arms
- 2
- end
- def color
- @color
- end
- def color=(d)
- @color = c
- end
- def self.default_color
- "Blue"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement