Class: Pause::SetElement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



18
19
20
# File 'lib/pause.rb', line 18

def count
  @count
end

#tsObject

Returns the value of attribute ts

Returns:

  • (Object)

    the current value of 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