Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/to_rupees.rb
Instance Method Summary collapse
Instance Method Details
#to_rupees ⇒ Object
42 43 44 45 46 |
# File 'lib/to_rupees.rb', line 42 def to_rupees Float(self).to_rupees rescue raise "A numeric is expected" end |