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