Class: Egor::EnvironmentFeature
- Inherits:
-
Struct
- Object
- Struct
- Egor::EnvironmentFeature
- Defined in:
- lib/egor/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
2 3 4 |
# File 'lib/egor/environment_feature.rb', line 2 def constrained @constrained end |
#labels ⇒ Object
Returns the value of attribute labels
2 3 4 |
# File 'lib/egor/environment_feature.rb', line 2 def labels @labels end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/egor/environment_feature.rb', line 2 def name @name end |
#silent ⇒ Object
Returns the value of attribute silent
2 3 4 |
# File 'lib/egor/environment_feature.rb', line 2 def silent @silent end |
#symbols ⇒ Object
Returns the value of attribute symbols
2 3 4 |
# File 'lib/egor/environment_feature.rb', line 2 def symbols @symbols end |
Instance Method Details
#constrained? ⇒ Boolean
8 9 10 |
# File 'lib/egor/environment_feature.rb', line 8 def constrained? constrained == "T" end |
#silent? ⇒ Boolean
12 13 14 |
# File 'lib/egor/environment_feature.rb', line 12 def silent? silent == "T" end |
#to_s ⇒ Object
4 5 6 |
# File 'lib/egor/environment_feature.rb', line 4 def to_s [name, symbols.join, labels.join, constrained, silent].join(";") end |