Method: Timecode.soft_parse
- Defined in:
- lib/timecode.rb
.soft_parse(input, with_fps = DEFAULT_FPS) ⇒ Object
Parse timecode and return zero if none matched
142 143 144 |
# File 'lib/timecode.rb', line 142 def soft_parse(input, with_fps = DEFAULT_FPS) parse(input) rescue new(0, with_fps) end |