Class: MP4::Structure::Service
- Inherits:
-
Object
- Object
- MP4::Structure::Service
- Defined in:
- lib/mp4/structure/service.rb
Instance Attribute Summary collapse
-
#mp4 ⇒ Object
readonly
Returns the value of attribute mp4.
Instance Method Summary collapse
-
#initialize(mp4) ⇒ Service
constructor
A new instance of Service.
- #next_track_id ⇒ Object
Constructor Details
#initialize(mp4) ⇒ Service
Returns a new instance of Service.
5 6 7 |
# File 'lib/mp4/structure/service.rb', line 5 def initialize(mp4) @mp4 = mp4 end |
Instance Attribute Details
#mp4 ⇒ Object (readonly)
Returns the value of attribute mp4.
3 4 5 |
# File 'lib/mp4/structure/service.rb', line 3 def mp4 @mp4 end |
Instance Method Details
#next_track_id ⇒ Object
9 10 11 |
# File 'lib/mp4/structure/service.rb', line 9 def next_track_id mp4.cache.next_track_id end |