[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18395] [Bug #504] Tempfile.open should return the new tempfile rather than nil

From: Tyler Rick <redmine@...>
Date: 2008-08-27 08:52:38 UTC
List: ruby-core #18395
Issue #504 has been updated by Tyler Rick.


Currently, if you want to be able to do anything with the tempfile after the block ends, you have to do something like this, which isn't very elegant:

  file = nil
   Tempfile.open("foo") do |f|
    file = nil
    f.print("foo\n")
  end
  p file.path

----------------------------------------
http://redmine.ruby-lang.org/issues/show/504

----------------------------------------
http://redmine.ruby-lang.org

In This Thread