#1454: Method.arity returns -1 for #initialize method with one argument ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): Oops, forgot to put the whole snippet in... {{{ irb(main):001:0> class Test irb(main):002:1> def initialize arg irb(main):003:1> end irb(main):004:0> end => nil irb(main):005:0> Test.method(:new).arity => -1 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1454#comment:1> MacRuby <http://macruby.org/>