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

- (UnknownConfigurationOption) initialize(class_name, option_name)



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

- (Object) class_name (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

- (Object) option_name (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

- (Object) to_s



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

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