Exception: TinySweeper::MissingBroomException
- Inherits:
-
StandardError
- Object
- StandardError
- TinySweeper::MissingBroomException
- Defined in:
- lib/tiny_sweeper/brooms.rb
Instance Method Summary collapse
-
#initialize(broom_name) ⇒ MissingBroomException
constructor
A new instance of MissingBroomException.
Constructor Details
#initialize(broom_name) ⇒ MissingBroomException
Returns a new instance of MissingBroomException.
21 22 23 |
# File 'lib/tiny_sweeper/brooms.rb', line 21 def initialize(broom_name) super("TinySweeper doesn't have this broom: #{broom_name}") end |