Exception: Emasser::ConfigurationEmptyValueError
- Defined in:
- lib/emasser/errors.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config = 'an option', message = 'Environment variable cannot be an empty:') ⇒ ConfigurationEmptyValueError
constructor
A new instance of ConfigurationEmptyValueError.
Constructor Details
#initialize(config = 'an option', message = 'Environment variable cannot be an empty:') ⇒ ConfigurationEmptyValueError
Returns a new instance of ConfigurationEmptyValueError.
18 19 20 21 |
# File 'lib/emasser/errors.rb', line 18 def initialize(config = 'an option', = 'Environment variable cannot be an empty:') @config = config super("#{} #{@config}") end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
16 17 18 |
# File 'lib/emasser/errors.rb', line 16 def config @config end |