class Feedjira::Parser::PodloveChapter
Public Instance Methods
start()
click to toggle source
# File lib/feedjira/parser/podlove_chapter.rb, line 13 def start return unless start_ntp parts = start_ntp.split(":") parts.reverse.to_enum.with_index.sum do |part, index| part.to_f * (60**index) end end