Exception: TinySweeper::MissingBroomException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tiny_sweeper/brooms.rb

Instance Method Summary collapse

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