helpers do
def em(text)
"<em>#{text}</em>
end
Ruby 1.8.6 works OK.
JRuby 1.1.4 fails with "wrong number of arguments(0 for 1)
helpers is defined as:-
def helpers(*extensions, &block)
class_eval(&block) if block_given?
include *extensions
end
I have not been able to find any reference to this type of failure in
JRuby.
Is this a known problem? Should it be reported as a bug?
Thanks
Paul Fraser
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email