Exception: Configuration::InvalidKey

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ InvalidKey

Returns a new instance of InvalidKey.



37
38
39
40
# File 'lib/configuration.rb', line 37

def initialize(key)
	@key = key
	super("Keys must not be empty")
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



36
37
38
# File 'lib/configuration.rb', line 36

def key
  @key
end