[#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:18248] [Ruby 1.9 - Feature #427] (Open) FileTest return values

From: Anonymous <redmine@...>
Date: 2008-08-12 11:20:59 UTC
List: ruby-core #18248
Issue #427 has been reported by Anonymous.

----------------------------------------
Feature #427: FileTest return values
http://redmine.ruby-lang.org/issues/show/427

Author: Anonymous
Status: Open
Priority: Normal
Assigned to: 
Category: core
Target version: 


It would be more convenient if FileTest.directory? and FileTest.file? and perhaps some other FileTest methods returned the receiver if true, rather than just true value. That would allow the test to be used with assignments. E.g.

  dir = FileTest.directory?('/home')

instead of

  dir = '/home' if FileTest.directory?('/home')

The change is backward compatible. However, it would effect Pathname, which may need to be adjusted to take this into account properly.


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

In This Thread

Prev Next