hi there,
even though I don't really 100% like the approach of opening classes and redefining them in my steps, as a sort of stubbing I'd say, for speed reasons I do it sometimes.
Today I defined a method that will be meta-programatically redefined (eval-ed) using a parameter, please take a look here
http://gist.github.com/430157
the thing is the method works when defined directly in the steps file, but when I move it to a helper module and include it in the World then it does not work.
so, even though I don't really have a clear question to ask, I guess a try would be:
* is it that meta-programming is a no-go in World's inclusions?
* what's the effect of redefining classes like this?
* what's your opinion on the use of this approach?
greetings,
joaquin
--
www.least-significant-bit.com