Exception: Spacebunny::BlockRequired
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Spacebunny::BlockRequired
- Defined in:
- lib/spacebunny/exceptions.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ BlockRequired
constructor
A new instance of BlockRequired.
Constructor Details
#initialize(message = nil) ⇒ BlockRequired
Returns a new instance of BlockRequired.
17 18 19 20 |
# File 'lib/spacebunny/exceptions.rb', line 17 def initialize( = nil) = || 'block missing. Please provide a block' super() end |