Exception: SiteFuel::Processor::Configurable::UnknownConfigurationOption
- Inherits:
-
StandardError
- Object
- StandardError
- SiteFuel::Processor::Configurable::UnknownConfigurationOption
- Defined in:
- lib/sitefuel/processors/Configurable.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#option_name ⇒ Object
readonly
Returns the value of attribute option_name.
Instance Method Summary collapse
-
#initialize(class_name, option_name) ⇒ UnknownConfigurationOption
constructor
A new instance of UnknownConfigurationOption.
- #to_s ⇒ Object
Constructor Details
#initialize(class_name, option_name) ⇒ UnknownConfigurationOption
Returns a new instance of UnknownConfigurationOption.
16 17 18 19 |
# File 'lib/sitefuel/processors/Configurable.rb', line 16 def initialize(class_name, option_name) @class_name = class_name @option_name = option_name end |
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
15 16 17 |
# File 'lib/sitefuel/processors/Configurable.rb', line 15 def class_name @class_name end |
#option_name ⇒ Object (readonly)
Returns the value of attribute option_name.
15 16 17 |
# File 'lib/sitefuel/processors/Configurable.rb', line 15 def option_name @option_name end |
Instance Method Details
#to_s ⇒ Object
21 22 23 |
# File 'lib/sitefuel/processors/Configurable.rb', line 21 def to_s "Class #{class_name} has no known option '#{option_name}'" end |