Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/shift_subtitles/core_ext/numeric.rb

Instance Method Summary collapse

Instance Method Details

#hours_to_secsObject



7
8
9
# File 'lib/shift_subtitles/core_ext/numeric.rb', line 7

def hours_to_secs
  self*60*60
end

#minutes_to_secsObject



3
4
5
# File 'lib/shift_subtitles/core_ext/numeric.rb', line 3

def minutes_to_secs
  self*60
end