Class: DryWacker

Inherits:
Object
  • Object
show all
Defined in:
lib/bvwack/drywacker.rb

Instance Method Summary collapse

Constructor Details

#initialize(path_to_file) ⇒ DryWacker



2
3
4
# File 'lib/bvwack/drywacker.rb', line 2

def initialize(path_to_file)
  @path_to_file = path_to_file
end

Instance Method Details

#dry_wackObject



6
7
8
9
10
# File 'lib/bvwack/drywacker.rb', line 6

def dry_wack
  if @path_to_file.class == String
    puts "ffmpeg -i #{@path_to_file} #{FFMPEG_OPTS} #{@path_to_file.gsub(/mkv$|avi$/, "ipad.mp4")}\n\n"
  end
end