Exception: SiteFuel::Processor::Configurable::UnknownConfigurationOption

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sitefuel/processors/Configurable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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_nameObject (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_sObject



21
22
23
# File 'lib/sitefuel/processors/Configurable.rb', line 21

def to_s
  "Class #{class_name} has no known option '#{option_name}'"
end