[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78784] [Ruby trunk Feature#7360] Adding Pathname#glob
From:
shyouhei@...
Date:
2016-12-21 14:53:02 UTC
List:
ruby-core #78784
Issue #7360 has been updated by Shyouhei Urabe.
We looked at this issue at today's developer meeting. As Akira already respond, the proposed patch has a problem. In order to reroute that we need to extend Dir.glob. Nobu opened a ticker for that. Once he finished that, we can resume this one.
----------------------------------------
Feature #7360: Adding Pathname#glob
https://bugs.ruby-lang.org/issues/7360#change-62191
* Author: Alexander E. Fischer
* Status: Feedback
* Priority: Normal
* Assignee: Akira Tanaka
* Target version:
----------------------------------------
Currently there is only a Pathname.glob method, which allows you to find Pathname objects by a pattern including wildcard characters like '*'.
I would like to be able to use this relative to a current Pathname.
some_directory = Pathname.new('some_directory')
Pathname.glob(some_directory + 'a*') # all children starting with "a"
could then simply be:
some_directory.glob('a*') # all children starting with "a"
If you like the idea, please let me know. I will provide a patch then.
---Files--------------------------------
19c4ae36aaea65b30e8b73c89f7ac42bd6905ed7.patch (2.84 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>