Exception: Emasser::ConfigurationMissingError
- 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 = 'No configuration was provided for variable:') ⇒ ConfigurationMissingError
constructor
A new instance of ConfigurationMissingError.
Constructor Details
#initialize(config = 'an option', message = 'No configuration was provided for variable:') ⇒ ConfigurationMissingError
Returns a new instance of ConfigurationMissingError.
9 10 11 12 |
# File 'lib/emasser/errors.rb', line 9 def initialize(config = 'an option', = 'No configuration was provided for variable:') @config = config super("#{} #{@config}") end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/emasser/errors.rb', line 7 def config @config end |