Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/shift_subtitles/core_ext/numeric.rb
Instance Method Summary collapse
Instance Method Details
#hours_to_secs ⇒ Object
7 8 9 |
# File 'lib/shift_subtitles/core_ext/numeric.rb', line 7 def hours_to_secs self*60*60 end |
#minutes_to_secs ⇒ Object
3 4 5 |
# File 'lib/shift_subtitles/core_ext/numeric.rb', line 3 def minutes_to_secs self*60 end |