Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/reparto.rb
Instance Method Summary collapse
Instance Method Details
#is_number? ⇒ Boolean
34 35 36 |
# File 'lib/reparto.rb', line 34 def is_number? true if Float(self) rescue false end |