Method: Subber::Subtitle#shift!
- Defined in:
- lib/subber/subtitle.rb
#shift!(ms) ⇒ Object
mutates the current subtitle’s start and end time by ms
38 39 40 41 |
# File 'lib/subber/subtitle.rb', line 38 def shift!(ms) @start_time += ms @end_time += ms end |