Sha256: 941cd35cb2a160dafd6b3b37507cb5ec8a899e49368d48b030c8f6ec3ec20876

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

module EncoderTools
  class CLI
    module Subtitles
      class Base < CLI::Base
        def parse(text)
          EncoderTools::Subtitles::List.load(text)
        end

        def parse_relaxed(text)
          EncoderTools::Subtitles::List.load(text, EncoderTools::Subtitles::RelaxedParser)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
encoder-tools-0.0.2 lib/encoder-tools/cli/subtitles/base.rb