Class: EnvironmentFeature
- Inherits:
-
Struct
- Object
- Struct
- EnvironmentFeature
- Defined in:
- lib/environment_feature.rb
Instance Attribute Summary collapse
-
#constrained ⇒ Object
Returns the value of attribute constrained.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#name ⇒ Object
Returns the value of attribute name.
-
#silent ⇒ Object
Returns the value of attribute silent.
-
#symbols ⇒ Object
Returns the value of attribute symbols.
Instance Method Summary collapse
Instance Attribute Details
#constrained ⇒ Object
Returns the value of attribute constrained
1 2 3 |
# File 'lib/environment_feature.rb', line 1 def constrained @constrained end |
#labels ⇒ Object
Returns the value of attribute labels
1 2 3 |
# File 'lib/environment_feature.rb', line 1 def labels @labels end |
#name ⇒ Object
Returns the value of attribute name
1 2 3 |
# File 'lib/environment_feature.rb', line 1 def name @name end |
#silent ⇒ Object
Returns the value of attribute silent
1 2 3 |
# File 'lib/environment_feature.rb', line 1 def silent @silent end |
#symbols ⇒ Object
Returns the value of attribute symbols
1 2 3 |
# File 'lib/environment_feature.rb', line 1 def symbols @symbols end |
Instance Method Details
#constrained? ⇒ Boolean
7 8 9 |
# File 'lib/environment_feature.rb', line 7 def constrained? constrained == "T" end |
#silent? ⇒ Boolean
11 12 13 |
# File 'lib/environment_feature.rb', line 11 def silent? silent == "T" end |
#to_s ⇒ Object
3 4 5 |
# File 'lib/environment_feature.rb', line 3 def to_s values.join(";") end |