Class: PopulateEnv::Attribute
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- PopulateEnv::Attribute
- Defined in:
- lib/populate_env/attribute.rb
Instance Method Summary collapse
-
#initialize(definition, value) ⇒ Attribute
constructor
A new instance of Attribute.
- #value ⇒ Object
Constructor Details
#initialize(definition, value) ⇒ Attribute
Returns a new instance of Attribute.
5 6 7 8 |
# File 'lib/populate_env/attribute.rb', line 5 def initialize(definition, value) @value = value super(definition) end |
Instance Method Details
#value ⇒ Object
10 11 12 |
# File 'lib/populate_env/attribute.rb', line 10 def value @value end |