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


29
30
31
# File 'lib/pause.rb', line 29

def count
  @count
end

#tsObject

Returns the value of attribute ts

Returns:

  • (Object)

    the current value of ts


29
30
31
# File 'lib/pause.rb', line 29

def ts
  @ts
end

Instance Method Details

#<=>(other) ⇒ Object


30
31
32
# File 'lib/pause.rb', line 30

def <=>(other)
  ts <=> other.ts
end