Fernando Perez <[EMAIL PROTECTED]> writes:

> Therefore a workaround is to define an instance method:
> --
> class Thing
>   def self.method1_and_method2(arg)
>     method1(arg).method2
>   end
> end

I'm inclined to call this an improvement rather than a workaround :)

Pat
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to