Class: Mccloud::Provider::Core::Lb
- Inherits:
-
Object
- Object
- Mccloud::Provider::Core::Lb
- Defined in:
- lib/mccloud/provider/core/lb.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#auto_selection ⇒ Object
Returns the value of attribute auto_selection.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#name ⇒ Object
Returns the value of attribute name.
-
#provider ⇒ Object
Returns the value of attribute provider.
Instance Method Summary collapse
- #auto_selected? ⇒ Boolean
-
#initialize(env) ⇒ Lb
constructor
A new instance of Lb.
Constructor Details
#initialize(env) ⇒ Lb
Returns a new instance of Lb.
11 12 13 14 |
# File 'lib/mccloud/provider/core/lb.rb', line 11 def initialize(env) @auto_selection=true @env=env end |
Instance Attribute Details
#auto_selection ⇒ Object
Returns the value of attribute auto_selection.
9 10 11 |
# File 'lib/mccloud/provider/core/lb.rb', line 9 def auto_selection @auto_selection end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
6 7 8 |
# File 'lib/mccloud/provider/core/lb.rb', line 6 def env @env end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/mccloud/provider/core/lb.rb', line 8 def name @name end |
#provider ⇒ Object
Returns the value of attribute provider.
7 8 9 |
# File 'lib/mccloud/provider/core/lb.rb', line 7 def provider @provider end |
Instance Method Details
#auto_selected? ⇒ Boolean
16 17 18 |
# File 'lib/mccloud/provider/core/lb.rb', line 16 def auto_selected? return @auto_selection end |