Class: Pause::PeriodCheck
- Inherits:
-
Struct
- Object
- Struct
- Pause::PeriodCheck
- Defined in:
- lib/pause.rb
Instance Attribute Summary collapse
-
#block_ttl ⇒ Object
Returns the value of attribute block_ttl.
-
#max_allowed ⇒ Object
Returns the value of attribute max_allowed.
-
#period_seconds ⇒ Object
Returns the value of attribute period_seconds.
Instance Method Summary collapse
Instance Attribute Details
#block_ttl ⇒ Object
Returns the value of attribute block_ttl
12 13 14 |
# File 'lib/pause.rb', line 12 def block_ttl @block_ttl end |
#max_allowed ⇒ Object
Returns the value of attribute max_allowed
12 13 14 |
# File 'lib/pause.rb', line 12 def max_allowed @max_allowed end |
#period_seconds ⇒ Object
Returns the value of attribute period_seconds
12 13 14 |
# File 'lib/pause.rb', line 12 def period_seconds @period_seconds end |
Instance Method Details
#<=>(other) ⇒ Object
13 14 15 |
# File 'lib/pause.rb', line 13 def <=>(other) self.period_seconds <=> other.period_seconds end |