No
objections/concerns/thoughts/concerns/praises/gifts-of-gold-frankincense-and-myrrh?
Ok then ...
http://ironruby.codeplex.com/ has been created, and once live all bugs will be
stored there. Jim is going through RubyForge bugs slowly, closing ones that are
fixed, and possibly moving important
The following Ruby code prints "to_int". So checking for to_int seems to be
correct, right?
class C
def to_int
puts "to_int"
0
end
def to_i
puts "to_i"
0
end
end
[].at(C.new)
Thanks,
Shri
From: Jim Deville
Sent: Tuesday, April 07, 2009 1:25 PM
To: Shri Borde; IronRuby Exte
My bad. These look fine as is then.
jD
-Original Message-
From: Shri Borde
Sent: April 07, 2009 1:47 PM
To: Jim Deville ; IronRuby External Code Reviewers
Cc: ironruby-core@rubyforge.org
Subject: RE: Review: GzipWriter.open
The following Ruby code prints “to_int”. So checking for to
Looks good.
Tomas
From: Shri Borde
Sent: Tuesday, April 07, 2009 1:09 PM
To: IronRuby External Code Reviewers
Cc: ironruby-core@rubyforge.org
Subject: Review: GzipWriter.open
http://github.com/shri/ironruby/commit/fb6f89146e331a9f20f444d5ca94478dfce7f555
GitDiff.bat 9fc3048beb4a315ec7ac3dc82908d
+ it "raises TypeError unless the arguments are exactly a String, Fixnum and
Fixnum" do
+filename = mock("filename")
+filename.should_not_receive(:to_s)
+lambda { Zlib::GzipWriter.open(filename) }.should raise_error(TypeError)
+
+level = mock("level")
+level.should_not_receive
http://github.com/shri/ironruby/commit/fb6f89146e331a9f20f444d5ca94478dfce7f555
GitDiff.bat 9fc3048beb4a315ec7ac3dc82908da8f92bf1a07
fb6f89146e331a9f20f444d5ca94478dfce7f555
* Implemented Zlib::GzipWriter.open
* Added Kernel.abort
* Mapped Errno::EACCES to System.Unauth
I was just going to post about this. Currently it is not possible to call
the extension methods in System::Linq::Enumerable and
System::Linq::Queryable.
>>> require 'System.Core, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
=> true
>>> include System::Linq
=> Object
>>> Query
No idea. Can you clone any other GIT repo? Did you Google for it?
Btw, I found that the GIT tutorial at
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html is very
helpful for ramping up on GIT concepts.
Thanks,
Shri
-Original Message-
From: ironruby-core-boun...@rubyforge
Method of Queryable take expression trees. Ruby lambdas are not convertible to
expression trees.
You need to build the expression tree yourself.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Tuesday, April 07,
Using MRI on Windows, Dir.pwd can use either lower-case or upper-case for the
drive letter ("C:/" or "c:/") depending on the Command Prompt it is run from.
However, __FILE__ always uses lower-case drive letter. This can cause problems
when comparing Dir.pwd and __FILE__. For eg,
Pathname#relati
Hi
What would be the syntax to call Linq methods?
for example:
I have an IQueryable and I want to get the equivalent out of
from user in MyRepository.Users
where user.name == "somename"
That of course is only one example, I want to do a lot more :)
My best guess is that I would have to do somet
Looks like a bug. Please file one against Tomas on Rubyforge.
JD
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Tuesday, April 07, 2009 10:03 AM
To: ironruby-core
Subject: [Ironruby-core] is this a bug?
Hi
Given the
Hi
Given the following (contrived) code:
namespace PersonLibrary
{
public class Person
{
public int Id { get; set; }
public string Name { get; set; }
}
public class Friend
{
public Friend(Person person)
{
Person = person;
}
Hi!
I tried to check out iron ruby sources following the instructions in
http://www.ironruby.net/Download but bumped into problems:
n...@nw32 /cygdrive/c/programs/dotnet/ironruby
$ git clone git://github.com/ironruby/ironruby.git
Initialized empty Git repository in
/
14 matches
Mail list logo