class Loaf::InvalidOptions

Raised when invalid options are passed to breadcrumbs view renderer.

InvalidOptions.new :name, :crumber, [:crumb]

Public Class Methods

new(invalid, valid) click to toggle source
Calls superclass method
# File lib/loaf/errors.rb, line 22
def initialize(invalid, valid)
  super(
    error_message("invalid_options",
      { :invalid => invalid, :valid => valid.join(', ') }
    )
  )
end