Class: Contraption::Month
- Inherits:
-
Struct
- Object
- Struct
- Contraption::Month
- Defined in:
- lib/contraption.rb
Instance Attribute Summary collapse
-
#month ⇒ Object
Returns the value of attribute month.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Attribute Details
#month ⇒ Object
Returns the value of attribute month
14 15 16 |
# File 'lib/contraption.rb', line 14 def month @month end |
#year ⇒ Object
Returns the value of attribute year
14 15 16 |
# File 'lib/contraption.rb', line 14 def year @year end |