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