Forum: IronRuby Kernel.open

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
806ef55917f436850d2c4b0a5703e7cc?d=identicon&s=25 Jirapong Nanta (jirapong)
on 2009-04-09 05:31
(Received via mailing list)
Hi,
  This snippet seems to be a bug in IronRuby.

file = Kernel.open("test.bin", "wb", 0444)

Error:
wrong number of arguments (5 for 3) (ArgumentError)

which due to KernelOps.cs - open method doesn't have overload to take
a permission parameter.

Open bug at -
http://rubyforge.org/tracker/index.php?func=detail...

Thank you,
-Jirapong
This topic is locked and can not be replied to.