Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/uk_financial_year.rb

Instance Method Summary collapse

Instance Method Details

#after?(other) ⇒ Boolean

Returns:

  • (Boolean)


130
131
132
# File 'lib/uk_financial_year.rb', line 130

def after? other
  self > other
end

#before?(other) ⇒ Boolean

Returns:

  • (Boolean)


126
127
128
# File 'lib/uk_financial_year.rb', line 126

def before? other
  self < other
end