Class: Ffprobe::MyHash
- Inherits:
-
Hash
- Object
- Hash
- Ffprobe::MyHash
- Includes:
- Hashie::Extensions::Coercion, Hashie::Extensions::MethodAccess
- Defined in:
- lib/ffprobe.rb
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ MyHash
constructor
A new instance of MyHash.
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 |