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