Class: PopulateEnv::Attribute

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/populate_env/attribute.rb

Instance Method Summary collapse

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

#valueObject



10
11
12
# File 'lib/populate_env/attribute.rb', line 10

def value
  @value
end