Class: Id3Taginator::Frames::Text::Entities::TrackNumber
- Inherits:
-
Object
- Object
- Id3Taginator::Frames::Text::Entities::TrackNumber
- Includes:
- Extensions::Comparable
- Defined in:
- lib/id3taginator/frames/text/entities/track_number.rb
Instance Attribute Summary collapse
-
#total ⇒ Object
Returns the value of attribute total.
-
#track_number ⇒ Object
Returns the value of attribute track_number.
Instance Method Summary collapse
-
#initialize(track_number, total) ⇒ TrackNumber
constructor
constructor.
Methods included from Extensions::Comparable
Constructor Details
#initialize(track_number, total) ⇒ TrackNumber
constructor
16 17 18 19 |
# File 'lib/id3taginator/frames/text/entities/track_number.rb', line 16 def initialize(track_number, total) @track_number = track_number @total = total end |
Instance Attribute Details
#total ⇒ Object
Returns the value of attribute total.
10 11 12 |
# File 'lib/id3taginator/frames/text/entities/track_number.rb', line 10 def total @total end |
#track_number ⇒ Object
Returns the value of attribute track_number.
10 11 12 |
# File 'lib/id3taginator/frames/text/entities/track_number.rb', line 10 def track_number @track_number end |