Class: OurEelHacks::Autoscaler::Limit

Inherits:
Object
  • Object
show all
Defined in:
lib/our-eel-hacks/autoscaler.rb

Direct Known Subclasses

LowerLimit, UpperLimit

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hardObject

Returns the value of attribute hard.



36
37
38
# File 'lib/our-eel-hacks/autoscaler.rb', line 36

def hard
  @hard
end

#softObject

Returns the value of attribute soft.



36
37
38
# File 'lib/our-eel-hacks/autoscaler.rb', line 36

def soft
  @soft
end