[Ironruby-core] Code Review: ArrayOfT

Curt Hagenlocher curth at microsoft.com
Sat Nov 1 17:25:41 EDT 2008


Change is good.

-----Original Message-----
From: Tomas Matousek
Sent: Saturday, November 01, 2008 12:35 PM
To: IronRuby External Code Reviewers
Cc: ironruby-core at rubyforge.org
Subject: Code Review: ArrayOfT

tfpt review "/shelveset:ArrayOfT;REDMOND\tomat"
Comment  :
  Enables simple array type creation:

  >>> require 'mscorlib'
  => true
  >>> System::Array.of(Fixnum)
  => System::Int32[]
  >>> System::Array.of(Fixnum).new(10)
  => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Tomas


More information about the Ironruby-core mailing list