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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RhsArg.diff
Type: application/octet-stream
Size: 30743 bytes
Desc: RhsArg.diff
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20080910/cb5bccb5/attachment-0001.obj>
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