Class: Ffprobe::MyHash

Inherits:
Hash
  • Object
show all
Includes:
Hashie::Extensions::Coercion, Hashie::Extensions::MethodAccess
Defined in:
lib/ffprobe.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash = {}) ⇒ MyHash

Returns a new instance of MyHash.



31
32
33
34
35
36
# File 'lib/ffprobe.rb', line 31

def initialize(hash = {})
  super
  hash.each_pair do |k,v|
    self[k] = v
  end
end