Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/parenthesize.rb
Instance Method Summary collapse
Instance Method Details
#parenthesize ⇒ Object
8 9 10 |
# File 'lib/parenthesize.rb', line 8 def parenthesize "(" + self.to_s + ")" end |