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