るりまサーチ

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

別のキーワード

  1. openssl g
  2. openssl g=
  3. dsa g
  4. dsa g=
  5. dh g

ライブラリ

クラス

モジュール

検索結果

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

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

...ます。

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

IO.write("test1.rb", "test")
IO.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"]
end
//}...

Win32::Registry::Constants::REG_OPENED_EXISTING_KEY (12301.0)

@todo

...@todo

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

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

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

...とする

IO.write("test1.rb", "test")
IO.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 # => ["test1.rb", "test2.rb"]
end
//}...

Win32::Registry::Constants::REG_CREATED_NEW_KEY (6101.0)

@todo

...@todo

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

Binding#local_variable_set(symbol, obj) (3006.0)

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

...= 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.local_variable_get(:b) # => 3
p...
...# => NameError
end
//}

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

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

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

絞り込み条件を変える

Win32::Registry#disposition (3006.0)

@todo

...@todo

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