[rspec-users] IRB-like utility for Cucumber?

Mark Wilden mark at mwilden.com
Wed Jan 14 20:18:30 EST 2009


On Wed, Jan 14, 2009 at 3:51 PM, Scott Taylor <scott at railsnewbie.com> wrote:

>
> Yeah, just insert this into your step definition:
>
> require 'rubygems'; require 'ruby-debug'; debugger
>
> Then type irb <return>
>
> Now you'll be in the middle of an IRB session
>

You can actually do

~$ irb
>> require 'ruby-debug'
=> true
>> debugger
(rdb:1) irb
>>

///ark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090114/59fc2d0e/attachment-0001.html>


More information about the rspec-users mailing list