Class: MP4::Layout::Mdat
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Attributes inherited from Atom
#cache, #media_cache, #track_id
Instance Method Summary collapse
-
#initialize(cache, media_cache, opts = {}) ⇒ Mdat
constructor
A new instance of Mdat.
Methods inherited from Atom
Constructor Details
#initialize(cache, media_cache, opts = {}) ⇒ Mdat
Returns a new instance of Mdat.
7 8 9 10 |
# File 'lib/mp4/layout/mdat.rb', line 7 def initialize(cache, media_cache, opts = {}) super(cache, media_cache, opts) @source = opts.fetch(:source) end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
5 6 7 |
# File 'lib/mp4/layout/mdat.rb', line 5 def source @source end |