class Command

Public Instance Methods

run() click to toggle source
# File lib/vtt2ass.rb, line 87
def run
    if params[:help] then
        print help
        exit
    elsif params[:version] then
        puts Vtt2ass::VERSION
        exit
    else
        runner = Application.new(params)
        # pp params.to_h
        runner.start
    end
end