[Ironruby-core] Code Review: RhsArg
Curt Hagenlocher
curth at microsoft.com
Wed Sep 10 18:34:08 EDT 2008
Looks good!
-----Original Message-----
From: Tomas Matousek
Sent: Wednesday, September 10, 2008 10:44 AM
To: IronRuby External Code Reviewers
Cc: ironruby-core at rubyforge.org
Subject: Code Review: RhsArg
tfpt review "/shelveset:RhsArg;REDMOND\tomat"
Implements block dispatch for R(N, *, =) case, i.e. N arguments, a splat argument and a right hand side of assignment are passed to a block.
Exxample:
class C
define_method('[]=') { |a,b,c| }
end
c = C.new
c[1,*[2]] = 3
Tomas
More information about the Ironruby-core
mailing list