Exception: Protoboard::Errors::InvalidCallback
- Inherits:
-
StandardError
- Object
- StandardError
- Protoboard::Errors::InvalidCallback
- Defined in:
- lib/protoboard/errors/invalid_callback.rb
Constant Summary collapse
- DEFAULT_MESSAGE =
'All callbacks should respond to #call and receive one argument'
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE) ⇒ InvalidCallback
constructor
A new instance of InvalidCallback.
Constructor Details
#initialize(msg = DEFAULT_MESSAGE) ⇒ InvalidCallback
Returns a new instance of InvalidCallback.
7 |
# File 'lib/protoboard/errors/invalid_callback.rb', line 7 def initialize(msg = DEFAULT_MESSAGE); end |