Module: Blirb::Behaviors::InstanceMethods
- Defined in:
- lib/blirb/behaviors.rb
Instance Method Summary collapse
Instance Method Details
#done ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/blirb/behaviors.rb', line 23 def done b = context.workspace.binding Object.class_eval do if @blirb.current_task.test!(b) puts "Nice. That worked." puts "=========================" @blirb. else puts "Test failed. Try again." end end end |