Exception: Compass::Search::UnknownProvider

Inherits:
StandardError
  • Object
show all
Defined in:
lib/compass/search.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider_name) ⇒ UnknownProvider

Returns a new instance of UnknownProvider.



10
11
12
13
# File 'lib/compass/search.rb', line 10

def initialize(provider_name)
  @provider_name = provider_name
  super("Provider '#{provider_name}' not found")
end

Instance Attribute Details

#provider_nameObject (readonly)

Returns the value of attribute provider_name.



8
9
10
# File 'lib/compass/search.rb', line 8

def provider_name
  @provider_name
end