るりまサーチ

最速Rubyリファレンスマニュアル検索!
77件ヒット [1-77件を表示] (0.123秒)
トップページ > クエリ:i[x] > クエリ:existing[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. _builtin i
  5. matrix i

ライブラリ

クラス

モジュール

検索結果

Rake::FileList#existing -> Rake::FileList (24307.0)

自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含む Rake::FileList を返します。

...む Rake::FileList を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

I
O.write("test1.rb", "test")
I
O.write("test2.rb", "test")

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing # => ["test...

Rake::FileList#existing! -> self (12207.0)

自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含むように自身を変更して返します。

...//emlist[][ruby]{
# Rakefile での記載例とする

I
O.write("test1.rb", "test")
I
O.write("test2.rb", "test")

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing! # => ["test1.rb", "test2.rb"]
file_list...

Win32::Registry::Constants::REG_OPENED_EXISTING_KEY (9201.0)

@todo

...@todo

キーが新しく作られたか、既存キーが開かれたか。
Win32::Registry#disposition メソッドも参照してください。...

Binding#local_variable_set(symbol, obj) (9106.0)

引数 symbol で指定した名前のローカル変数に引数 obj を設定します。

...//emlist[例][ruby]{
def foo
a = 1
bind = binding
bind.local_variable_set(:a, 2) # set existing local variable `a'
bind.local_variable_set(:b, 3) # create new local variable `b'
# `b' exists only in binding
p bind.local_variable_get(:a) # => 2
p bind.lo...
...cal_variable_get(:b) # => 3
p a # => 2
p b # => NameError
end
//}

このメソッドは以下のコード(ただし、obj が Ruby のコードで出力される場
合)と同様の動作をします。

//emlist[][ruby]{
binding.eval("#{sy...
...mbol} = #{obj}")
//}

@see Binding#local_variable_get, Binding#local_variable_defined?...

Win32::Registry#disposition (6106.0)

@todo

...@todo

キーの disposition 値を返します。
(REG_CREATED_NEW_KEY または REG_OPENED_EXISTING_KEY)...

絞り込み条件を変える

Win32::Registry::Constants::REG_CREATED_NEW_KEY (3001.0)

@todo

...@todo

キーが新しく作られたか、既存キーが開かれたか。
Win32::Registry#disposition メソッドも参照してください。...

ruby 1.8.4 feature (138.0)

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

...
# * [api]: 拡張ライブラリ API
# * [lib]: ライブラリ
* レベル
* [bug]: バグ修正
* [new]: 追加されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影...
...boundMethod#bind [bug]>))
* ((<ruby 1.8.4 feature/set_trace_func [bug]>))
* ((<ruby 1.8.4 feature/set_trace_func [change]>))
* ((<ruby 1.8.4 feature/printf [bug]>))
* ((<ruby 1.8.4 feature/Hash [bug]>))
* ((<ruby 1.8.4 feature/test [bug]>))
* ((<ruby 1.8.4 feature/File.identical? [new]>)...
...(2005-12-16) [i686-linux]
[-n, 時間]
時間

: find

#Tue Nov 15 23:46:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * lib/find.rb (Find::find): should not ignore symbolic links to
# non-existing files. [ruby-talk:165866]

broken symbolic link(存在し...