Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/ffmpeg_wrapper/hash.rb

Instance Method Summary collapse

Instance Method Details

#to_shellflagsObject


2
3
4
5
6
7
8
# File 'lib/ffmpeg_wrapper/hash.rb', line 2

def to_shellflags
  line = ''
  each do |k, v|
    line << "-#{k} #{v}"
  end
  line
end