Class: Pause::SetElement
- Inherits:
-
Struct
- Object
- Struct
- Pause::SetElement
- Defined in:
- lib/pause.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#ts ⇒ Object
Returns the value of attribute ts.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count
18 19 20 |
# File 'lib/pause.rb', line 18 def count @count end |
#ts ⇒ Object
Returns the value of attribute ts
18 19 20 |
# File 'lib/pause.rb', line 18 def ts @ts end |
Instance Method Details
#<=>(other) ⇒ Object
19 20 21 |
# File 'lib/pause.rb', line 19 def <=>(other) self.ts <=> other.ts end |