Class: MailDiode::SingleSetting

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, value) ⇒ SingleSetting

Returns a new instance of SingleSetting.



22
23
24
25
# File 'lib/settings.rb', line 22

def initialize(key, value)
  @key = key
  @value = value
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



19
20
21
# File 'lib/settings.rb', line 19

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



20
21
22
# File 'lib/settings.rb', line 20

def value
  @value
end