Class: MediaInfo::Tracks::Attributes::Extra
- Inherits:
-
Object
- Object
- MediaInfo::Tracks::Attributes::Extra
- Defined in:
- lib/mediainfo/tracks.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Extra
constructor
A new instance of Extra.
Constructor Details
#initialize(params) ⇒ Extra
Returns a new instance of Extra.
92 93 94 |
# File 'lib/mediainfo/tracks.rb', line 92 def initialize(params) params.each{ |param| MediaInfo.set_singleton_method(self,param[0],MediaInfo::Tracks::Attributes.sanitize_element_value(param)) } end |