Method: Timecode#with_frames_as_fraction
- Defined in:
- lib/timecode.rb
#with_frames_as_fraction ⇒ Object Also known as: with_fractional_seconds
356 357 358 359 360 |
# File 'lib/timecode.rb', line 356 def with_frames_as_fraction vp = value_parts.dup vp[-1] = (100.0 / @fps) * vp[-1] WITH_FRACTIONS_OF_SECOND % vp end |