Class: DayOffs::DayOff
- Inherits:
-
Struct
- Object
- Struct
- DayOffs::DayOff
- Defined in:
- lib/day_offs.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#date ⇒ Object
Returns the value of attribute date.
Instance Method Summary collapse
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country
16 17 18 |
# File 'lib/day_offs.rb', line 16 def country @country end |
#date ⇒ Object
Returns the value of attribute date
16 17 18 |
# File 'lib/day_offs.rb', line 16 def date @date end |
Instance Method Details
#==(other) ⇒ Object
17 18 19 |
# File 'lib/day_offs.rb', line 17 def ==(other) country == other.country && date == other.date end |