Module: YearArray::TimeHelpers::InstanceMethods
- Defined in:
- lib/year_array/time_helpers.rb
Instance Method Summary collapse
Instance Method Details
#same_year?(other) ⇒ Boolean
30 31 32 |
# File 'lib/year_array/time_helpers.rb', line 30 def same_year?(other) self.year==other.year end |