Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/orion/orion_objects/time.rb
Instance Method Summary collapse
Instance Method Details
#<(other_time) ⇒ Object
6 7 8 |
# File 'lib/orion/orion_objects/time.rb', line 6 def <(other_time) (self <=> other_time) == -1 ? true : false end |
#==(other_time) ⇒ Object
10 11 12 |
# File 'lib/orion/orion_objects/time.rb', line 10 def ==(other_time) (self <=> other_time) == 0 ? true : false end |
#>(other_time) ⇒ Object
2 3 4 |
# File 'lib/orion/orion_objects/time.rb', line 2 def >(other_time) (self <=> other_time) == 1 ? true : false end |