るりまサーチ

最速Rubyリファレンスマニュアル検索!
98件ヒット [1-98件を表示] (0.012秒)
トップページ > クエリ:glob[x] > 種類:文書[x]

別のキーワード

  1. pathname glob
  2. dir glob
  3. _builtin glob
  4. shell glob
  5. glob pathname

検索結果

ruby 1.9 feature (85.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...fcall から改名

: Module#instance_exec [new]
: Module#module_exec [new]

追加

=== 2005-09-16
: ((<Dir/Dir.glob>)) [compat]
: ((<Dir/Dir.[]>)) [compat]

Dir.glob に配列を渡して複数のパターンを指定できるようになりました。
また、Dir[] は、複数の...
...r.glob(["f*","b*"]) # => ["foo", "bar"]
p Dir["b*","b*"] # => ["foo", "bar"]

以前のバージョンでも、パターンを "\0" で区切ったり、{} パターンを使
用することで同様のことはできます。

p Dir.glob("f*\0b*") # => ["foo", "bar"]
p Dir.glob(...
...: Dir.glob [bug]
三重以上入れ子になった { } が動くようになりました。
((<ruby-dev:23376>))

p Dir.glob('{{{ruby}}}')
#=> ruby 1.8.2 (2004-12-24) [i386-mswin32]
[]
#=> ruby 1.9.0 (2004-04-25) [i386-mswin32]
["ruby"]

: Dir.glob [bug...

ruby 1.6 feature (73.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...2-07-30) [i586-linux]
["a", "b", "c"]

: 2002-06-15 Dir.glob

リンクの切れたシンボリックリンクに対して、Dir.glob がマッチしません
でした。

File.symlink("foo", "bar")
p Dir.glob("bar")
=> ruby 1.6.7 (2002-03-01) [i586-linux]...
...Dir#pos= が右辺を返すようになった(以前は self を返していた)。
(Dir#seek は、変わらず self を返します)

* Dir.glob がブロックを伴うとき nil を返すようになった(以前は false)

* IO#close がクローズ済みな IO に対して IOError を...
...rror)
from -:3
ruby 1.6.5 (2001-09-19) [i586-linux]

: Dir.glob

以下のコードが無限ループになっていました。

Dir.mkdir("test?") rescue nil
p Dir.glob("test?/*")
=> ruby 1.6.5 (2001-09-19) [i586-linux]
[]

: jcode...

ruby 1.8.4 feature (25.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...it [change]>))
* ((<ruby 1.8.4 feature/File.basename [change]>))
* ((<ruby 1.8.4 feature/File.dirname [change]>))
* ((<ruby 1.8.4 feature/Dir.glob (Win全般) [bug]>))
* ((<ruby 1.8.4 feature/File.basename (Win全般) [change]>))
* ((<ruby 1.8.4 feature/File.dirname (Win全般) [bug]>))...
...aa") #=> old:["//", "aaa"] new:["//aaa", "/"]

: Dir.glob (Win全般) [bug]

#Tue Nov 22 13:18:32 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
#
# * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');
# p Dir.glob('*') should work on WinNT. (implemented our own
#...
...サンプル兼ライブラリ

#Wed Dec 7 01:02:04 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
#
# * ext/tk/README.macosx-aqua: [new document] tips to avoid the known
# bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X.

MacOS X 上で Aqua 版の Tcl/Tk を用いた...

1.6.8から1.8.0への変更点(まとめ) (19.0)

1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))

...ソッドはクラス定義式の終りに呼び出されるようになりました。
((<ruby-bugs-ja:342>))

=== Dir

: ((<Dir/Dir.glob>)) [compat]

Dir.glob に第2引数(マッチの挙動を変更するフラグ)を指定できるようにな
りました。Dir[] にはこのフラグは...
...((<File>)).openと同様に、ブロックの結果がメソッドの
戻り値になりました。(1.6以前は (({nil})) 固定)

: ((<Dir/Dir.glob>)) [change]
先行するバックスラッシュにより、ワイルドカードをエスケープ
できるようになりました。...
...ーになっていました。
((<ruby-dev:18278>))

local ||= 1
@instance ||= 1
$global ||= 1
@@class ||= 1

=> -:3: warning: global variable `$global' not initialized
-:4: uninitialized class variable @@class in Object (NameError)
rub...

NEWS for Ruby 2.7.0 (19.0)

NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...その結果、「0 <=> 0i」がNoMethodErrorを発生しなくなりました。 15857

* Dir
* 変更されたメソッド
* Dir.globとDir.[] がNUL文字区切りのグロブパターンを受け付けなくなりました。
代わりにArrayを使ってください。...
...tion: --baa (OptionParser::InvalidOption)
Did you mean? baz
bar
//}

* Pathname
* Pathname.globがbaseキーワード引数を受け付けるために
Dir.globに3引数を委譲するようになりました。 14405

* Racc
* 上流のレポジトリから1.4.15...

絞り込み条件を変える

ruby 1.8.2 feature (19.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...ev:24452>))

: IO#gets [ruby] [bug]
"\377" を引数に受け取っても適切に振舞うようになりました。((<ruby-dev:24460>))

: Dir.glob [change]
ブロックを渡したとき、false ではなく nil を返すようになりました。また、readdir しながらブロックを...
...ション :ServerAlias が追加されました。

=== 2004-02-24
: OpenSSL::Config#each [lib] [new]

: Dir.glob [ruby] [change]
File::FNM_DOTMATCH がセットされない限り Dir.glob('test/**/') は 'test/.test/' などに
マッチしなくなりました。((<ruby-dev:23014>))

=== 2004-...

NEWS for Ruby 2.5.0 (13.0)

NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...。その文字列は捕捉されない例外をRubyが表示しているのと同じ方法でフォーマットされます。

* Dir
* Dir.glob :base というキーワード引数を追加しました 13056
* Dir.chdir (ブロックなしで呼び出した場合), Dir.open, Dir.new, Dir...
...ら2.1に更新しました。変更内容はext/openssl/History.mdの"Version 2.1.0"セクションにあります。

* pathname
* Pathname#glob を追加 7360

* psych
* Psych 3.0.2 に更新しました
* Convert fallback option to a keyword argument
https://github.com/...
...his much improves the speed of generating documents.
* It also facilitates supporting new syntax in the future.
* Support many new syntaxes of Ruby from the past few years.
* Use "frozen_string_literal: true".
This reduces document generation time by 5%.
* Support d...

DOSISH 対応 (7.0)

DOSISH 対応 ruby version 1.7 では、DOSISH対応(DOS/Windows のパス名の扱いに対する変 更)が含まれています。(現在の)変更点を以下に示します。

..."c:/foo"
"c://foo"
"c:./foo"
"c://foo"

=> ruby 1.8.0 (2003-01-06) [i386-mswin32]
"c:/foo"
"c:/foo"
"c:./foo"
"c://foo"

=> 新井案 31185
"c:./foo"
"c:/foo"
"c:./foo"
"c:./foo"

: File.fnmatch
: Dir.glob
: Dir[]...

NEWS for Ruby 2.6.0 (7.0)

NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...をサポート
* いくつかの XPath 実装を修正:
* "//#{ELEMENT_NAME}[#{POSITION}]" の問題
* string() 関数: function(document) がルート要素の外のノードを返すのを修正
* "/ #{ELEMENT_NAME} " の問題
* "/ #{ELEMENT_NAME} [ #{PREDICATE} ]"...
...が file URI スキームを扱うために追加されました。 14035

=== 互換性 (機能追加とバグ修正を除く)

* Dir
* Dir.glob に '\0'区切りのパターンリストを渡すのは非推奨になる予定で、
今は警告が出ます。 14643

* File
* File...

NEWS for Ruby 3.0.0 (7.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ince Ruby 2.7.2).
Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
16345
* `$SAFE` and `$KCODE` are now normal global variables with no special behavior.
C-API methods related to `$SAFE` have been removed.
16131 17136
* yield in singleton class definit...
...ditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a h...
...a `Random` instance, so it can work with `Ractor`. 17322
* `Random::DEFAULT` is deprecated since its value is now confusing and it is no longer global, use `Kernel.rand`/`Random.rand` directly, or create a `Random` instance with `Random.new` instead. 17351
* String
* The following methods...

絞り込み条件を変える