Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/subtitle_it.rb
Instance Method Summary collapse
Instance Method Details
#reduce ⇒ Object
22 23 24 |
# File 'lib/subtitle_it.rb', line 22 def reduce self / 10**Math.log10(self).to_i end |