#636: Nicer method calling ----------------------------------+----------------------------------------- Reporter: kunc.fi...@… | Owner: lsansone...@… Type: enhancement | Status: new Priority: trivial | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: method syntax enhancement ----------------------------------+----------------------------------------- I like two currently supported features of MacRuby:
{{{ def m1(a, b=true) ... end def m2(a, withB:b) end }}} How about this? {{{ def proposedSyntax(a, withB:b=true andC:c=0.3) ... end }}} The reason for this is that you can choose which parameters will change from their defaults and which not. For example: {{{ proposedSyntax(1, andC:0.5) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/636> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel