Exception: Loaf::InvalidOptions
- Defined in:
- lib/loaf/errors.rb
Overview
Raised when invalid options are passed to breadcrumbs view renderer.
InvalidOptions.new :name, :crumber, [:crumb]
Constant Summary
Constants inherited from LoafError
Instance Method Summary collapse
-
#initialize(invalid, valid) ⇒ InvalidOptions
constructor
A new instance of InvalidOptions.
Methods inherited from LoafError
Constructor Details
#initialize(invalid, valid) ⇒ InvalidOptions
Returns a new instance of InvalidOptions.
22 23 24 25 26 27 28 |
# File 'lib/loaf/errors.rb', line 22 def initialize(invalid, valid) super( ("invalid_options", { :invalid => invalid, :valid => valid.join(', ') } ) ) end |