Class: Roma::Mkconfig::Config_status
- Inherits:
-
Object
- Object
- Roma::Mkconfig::Config_status
- Defined in:
- lib/roma/tools/mkconfig.rb
Instance Attribute Summary collapse
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#name ⇒ Object
Returns the value of attribute name.
-
#print ⇒ Object
Returns the value of attribute print.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(hash, input, store_type = nil) ⇒ Config_status
constructor
A new instance of Config_status.
Constructor Details
#initialize(hash, input, store_type = nil) ⇒ Config_status
Returns a new instance of Config_status.
228 229 230 231 232 233 234 235 236 |
# File 'lib/roma/tools/mkconfig.rb', line 228 def initialize(hash, input, store_type = nil) @name = hash["name"] @value = input if store_type == "Array" @value = Array.new @value << input end @print = true end |
Instance Attribute Details
#default_value ⇒ Object
Returns the value of attribute default_value.
227 228 229 |
# File 'lib/roma/tools/mkconfig.rb', line 227 def default_value @default_value end |
#name ⇒ Object
Returns the value of attribute name.
227 228 229 |
# File 'lib/roma/tools/mkconfig.rb', line 227 def name @name end |
#print ⇒ Object
Returns the value of attribute print.
227 228 229 |
# File 'lib/roma/tools/mkconfig.rb', line 227 def print @print end |
#value ⇒ Object
Returns the value of attribute value.
227 228 229 |
# File 'lib/roma/tools/mkconfig.rb', line 227 def value @value end |