Exception: Pharrell::BindingNotFoundError

Inherits:
Exception
  • Object
show all
Defined in:
lib/pharrell/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ BindingNotFoundError



3
4
5
# File 'lib/pharrell/errors.rb', line 3

def initialize(klass)
  @klass = klass
end

Instance Method Details

#messageObject



7
8
9
# File 'lib/pharrell/errors.rb', line 7

def message
  "Binding for #{@klass} could not be found!"
end