Class: OurEelHacks::Autoscaler::Limit
- Inherits:
-
Object
- Object
- OurEelHacks::Autoscaler::Limit
- Defined in:
- lib/our-eel-hacks/autoscaler.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#hard ⇒ Object
Returns the value of attribute hard.
-
#soft ⇒ Object
Returns the value of attribute soft.
Instance Method Summary collapse
-
#initialize(soft, hard) ⇒ Limit
constructor
A new instance of Limit.
Constructor Details
#initialize(soft, hard) ⇒ Limit
Returns a new instance of Limit.
31 32 33 34 |
# File 'lib/our-eel-hacks/autoscaler.rb', line 31 def initialize(soft, hard) @soft = soft @hard = hard end |
Instance Attribute Details
#hard ⇒ Object
Returns the value of attribute hard.
36 37 38 |
# File 'lib/our-eel-hacks/autoscaler.rb', line 36 def hard @hard end |
#soft ⇒ Object
Returns the value of attribute soft.
36 37 38 |
# File 'lib/our-eel-hacks/autoscaler.rb', line 36 def soft @soft end |