[rspec-users] Coming Soon...
Jay Levitt
lists-rspec at shopwatch.org
Fri Feb 2 10:47:09 EST 2007
David Chelimsky wrote:
>>> Parens: When you do this:
>>>
>>> a.b c d
>>>
>>> ... Ruby gives you the all familiar:
>>>
>>> "warning: parenthesize argument(s) for future version"
Nutty thought: the code is executed by eval'ing the block passed to
context, right? So couldn't context eval a version of the code that was
parsed by something like, though more robust than,
s/\.should/\.should\(.*\)/ ?
Jay
More information about the rspec-users
mailing list