[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61432] [CommonRuby - Feature #9625] [Open] Define `Pathname#/` to append to the path

From: alexey.muranov@...
Date: 2014-03-12 09:12:48 UTC
List: ruby-core #61432
Issue #9625 has been reported by Alexey Muranov.

----------------------------------------
Feature #9625: Define `Pathname#/` to append to the path
https://bugs.ruby-lang.org/issues/9625

* Author: Alexey Muranov
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
How about borrowing this definition from *Homebrew* project:

    class Pathname
      def / that
        join that.to_s
      end
    end

Looks nice to me.



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

In This Thread

Prev Next