Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. class << self
  2. def number_of_sides
  3. @@number_of_sides
  4. end
  5.  
  6. def number_of_sides=(value)
  7. @@number_of_sides = value
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement