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
15 16 17 |
# File 'lib/pause.rb', line 15 def block_ttl @block_ttl end |
#max_allowed ⇒ Object
Returns the value of attribute max_allowed
15 16 17 |
# File 'lib/pause.rb', line 15 def max_allowed @max_allowed end |
#period_seconds ⇒ Object
Returns the value of attribute period_seconds
15 16 17 |
# File 'lib/pause.rb', line 15 def period_seconds @period_seconds end |
Instance Method Details
#<=>(other) ⇒ Object
16 17 18 |
# File 'lib/pause.rb', line 16 def <=>(other) period_seconds <=> other.period_seconds end |