るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. rsa p
  5. dh p=

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::CommandProcessor#cat(*files) -> Shell::Filter (21114.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...を返します.

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat
(file).each { |l|...

Gem::Specification#specification_version -> Integer (18201.0)

この Gem パッケージに用いられている gemspec のバージョンを返します。

...この Gem パッケージに用いられている gemspec のバージョンを返します。...

Gem::Specification#specification_version=(version) (18201.0)

この Gem パッケージに用いられている gemspec のバージョンをセットします。

...この Gem パッケージに用いられている gemspec のバージョンをセットします。

@param version gemspec のバージョンを指定します。

@see Gem::Specification::SPECIFICATION_VERSION_HISTORY...

Gem::SourceIndex#specification(full_name) -> Gem::Specification | nil (12401.0)

指定された名前の Gem::Specification オブジェクトを返します。

...指定された名前の Gem::Specification オブジェクトを返します。

@param full_name Gem のフルネームを指定します。...

Rake::Task#application -> Rake::Application (12401.0)

自身を所有している Rake::Application のインスタンスを返します。

...自身を所有している Rake::Application のインスタンスを返します。...

絞り込み条件を変える

Rake::Task#application=(app) (12301.0)

自身を所有している Rake::Application のインスタンスをセットします。

...自身を所有している Rake::Application のインスタンスをセットします。

@param app 自身を所有しているアプリケーションを指定します。...

Encoding#replicate(name) -> Encoding (12201.0)

レシーバのエンコーディングを複製(replicate)します。 複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。 name という名前のエンコーディングが既に存在する場合は ArgumentError を発生します。

...レシーバのエンコーディングを複製(replicate)します。
複製されたエンコーディングは元のエンコーディングと同じバイト構造を持たなければなりません。
name という名前のエンコーディングが既に存在する場合は ArgumentError...
...uby 3.3 で削除予定です。

//emlist[][ruby]{
encoding = Encoding::UTF_8.replicate("REPLICATED_UTF-8") #=> #<Encoding:REPLICATED_UTF-8>
encoding.name #=> "REPLICATED_UTF-8"
"\u3042".force_encoding(Encoding::UTF_8).valid_encoding? #=> true...

Gem::Specification#add_dependency(gem, *requirements) -> [Gem::Dependency] (12201.0)

この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。

...す。

//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}

@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。

@param requirements バージョ...
...ンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。

@see Gem::Specification#add_development_dependency, Gem::Dependency...

Gem::Specification#add_runtime_dependency(gem, *requirements) -> [Gem::Dependency] (12201.0)

この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。

...す。

//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}

@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。

@param requirements バージョ...
...ンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。

@see Gem::Specification#add_development_dependency, Gem::Dependency...
<< 1 2 3 ... > >>