るりまサーチ

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

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

クラス

キーワード

検索結果

OptionParser#to_a -> [String] (18119.0)

サマリの各行を要素とした配列を返します。

...を返します。

//emlist[例][ruby]{
require "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end

opts.to_a # => ["Usage: test [options]", " -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}...

rubygems (54.0)

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

...の使い方

$ gem help

RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポインタを含んでいる基本的なヘルプメッセージです。

使用方法:
gem -h/--help
gem -v/--versio...
...package.gemspec
gem help install

さらにヘルプ:
gem help commands 全ての 'gem' コマンドをリストアップします
gem help examples いくつかの使用方法の例を表示します
gem help platforms プラ...
...= 'http://example.com/hello'
s.platform = Gem::Platform::RUBY
s.summary = 'Hello Gem'
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.has_rdoc = false
s.extra_rdoc_files = ['README']
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_...

NEWS for Ruby 3.0.0 (24.0)

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

...instead of
a warning.

== Command line options

=== `--help` option

When the environment variable `RUBY_PAGER` or `PAGER` is present and has
a non-empty value, and the standard input and output are tty, the `--help`
option shows the help message via the pager designated by the value.
16754

===...
...Set
* Update to set 1.0.0
* SortedSet has been removed for dependency and performance reasons.
* Set#join is added as a shorthand for `.to_a.join`.
* Set#<=> is added.
* Socket
* Add :connect_timeout to TCPSocket.new 17187
* Net::HTTP
* Net::HTTP#verify_hostname= and Net:...

rake (18.0)

Rake というコマンドラインツールを扱うライブラリです。

...にこのライブラリにはいくつかのタスクが同梱されています。

@see make(1)

=== Rake コマンドの使い方

$ rake --help
rake [-f rakefile] {options} targets...
Options are ...
-C, --classic-namespace トップレベルに Task, FileTask を定義しま...
...示します (デフォルト)。
-V, --version このプログラムのバージョンを表示します。
-h, -H, --help このメッセージを表示します。

=== Rake ファイルの書き方

一から全て自分で書くことも出来ますが...
...t.test_files = FileList["step#{n}/test_*.rb"]
t.verbose = false
end
end

desc 'execute all test'
task 'test_all' => (1..8).to_a.map{|n| "test_step#{n}"}

=== 用語集


: action / アクション
タスクを機能させるためのコードです。
Rakefile 内のア...