Module: BeforeAndAfter
Instance Method Summary collapse
Instance Method Details
#after?(time) ⇒ Boolean
6 7 8 |
# File 'lib/antikythera.rb', line 6 def after?(time) self > time end |
#before?(time) ⇒ Boolean
2 3 4 |
# File 'lib/antikythera.rb', line 2 def before?(time) self < time end |