Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- class Fixnum
- def squared
- self * self
- end
- end
- p 4.squared
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement