Class: Macmillan::Utils::Settings::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/macmillan/utils/settings/value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lookup_key, value, backend, backend_key) ⇒ Value

Returns a new instance of Value.



7
8
9
10
11
12
# File 'lib/macmillan/utils/settings/value.rb', line 7

def initialize(lookup_key, value, backend, backend_key)
  @lookup_key  = lookup_key
  @value       = value
  @backend     = backend
  @backend_key = backend_key
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



5
6
7
# File 'lib/macmillan/utils/settings/value.rb', line 5

def value
  @value
end