るりまサーチ

最速Rubyリファレンスマニュアル検索!
27055件ヒット [1-100件を表示] (0.183秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

FileUtils#ruby(*args) {|result, status| ... } (18130.0)

与えられた引数で Ruby インタプリタを実行します。

...与えられた引数で Ruby インタプリタを実行します。

@param args Ruby インタプリタに与える引数を指定します。

例:
ruby
%{-pe '$_.upcase!' <README}

@see Kernel.#sh...

Module#ruby2_keywords(method_name, ...) -> nil (6132.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...ate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.

This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the module responds to this method befo...
...aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.

//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
send(:"do_#{meth}", *args, &block)
end
ruby
2_keywords(:foo) if respond_to?(:ruby2_keywords, true)
end
//}...

Proc#ruby2_keywords -> proc (6132.0)

Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.

...ate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.

This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the proc responds to this method before...
...so, be aware that if this method is removed, the behavior of the
proc will change so that it does not pass through keywords.

//emlist[][ruby]{
module Mod
foo = ->(meth, *args, &block) do
send(:"do_#{meth}", *args, &block)
end
foo.ruby2_keywords if foo.respond_to?(:ruby2_keywords)
end
//}...

Gem::Specification#required_ruby_version -> Gem::Requirement (6118.0)

この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。

...この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。...

Gem::Specification#required_ruby_version=(requirement) (6118.0)

この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。

...この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。

@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。

@see Gem::Requirement...

絞り込み条件を変える

Gem::Specification#to_ruby -> String (6118.0)

自身を再現するための Ruby スクリプトを文字列で返します。

...自身を再現するための Ruby スクリプトを文字列で返します。

省略されている値はデフォルト値が使用されます。...

Psych::Nodes::Node#to_ruby -> object (6118.0)

AST を ruby のオブジェクトに変換します。

...AST を ruby のオブジェクトに変換します。...

Rake::TestTask#ruby_opts -> Array (6118.0)

テスト実行時に Ruby コマンドに渡されるオプションを返します。

...テスト実行時に Ruby コマンドに渡されるオプションを返します。...

Rake::TestTask#ruby_opts=(options) (6118.0)

テスト実行時に Ruby コマンドに渡されるオプションをセットします。

...テスト実行時に Ruby コマンドに渡されるオプションをセットします。

@param options 配列でオプションを指定します。...

Gem::Commands::UpdateCommand#do_rubygems_update(version) (6101.0)

RubyGems 自体を更新します。

...
Ruby
Gems 自体を更新します。...

絞り込み条件を変える

Gem::Specification#required_rubygems_version -> Gem::Requirement (6101.0)

この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。

...この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。...
<< 1 2 3 ... > >>