Class: Time
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/file_scheduler/time_mark.rb', line 7 def <=>(other) if FileScheduler::TimeMark === other -(other <=> self) else compare_to_without_time_mark_support other end end |
#compare_to_without_time_mark_support ⇒ Object
5 |
# File 'lib/file_scheduler/time_mark.rb', line 5 alias_method :compare_to_without_time_mark_support, :<=> |