るりまサーチ

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

別のキーワード

  1. irb/help print_usage
  2. command usage
  3. net/imap usage
  4. irb print_usage
  5. buildcommand usage

ライブラリ

クラス

検索結果

OptionParser#ver -> String (18113.0)

program_name、version と release から生成したバージョンを表す文字列を返します。

...program_name、version と release から生成したバージョンを表す文字列を返します。

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

OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.program_name = "Optparse Example"
opts.version = [0, 1]
opts.release...
...= "2019-05-01"

opts.on_tail("--version", "Show version") do
puts opts.ver # => "Optparse Example 0.1 (2019-05-01)"
exit
end

opts.parse!(ARGV)
end
//}...

rubygems/commands/server_command (6006.0)

ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに 載せて公開するためのライブラリです。

...されている Gem パッケージとそのドキュメントを HTTP サーバに
載せて公開するためのライブラリです。

Usage
: gem server [options]
Options:
-p, --port=PORT port to listen on
-d, --dir=GEMDIR directory from which...
...run as a daemon
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE...
...itory HTTP server
Description:
The server command starts up a web server that hosts the RDoc for your
installed gems and can operate as a server for installation of gems on other
machines.

The cache files for installed gems must exist to use the server as a source...

getoptlong (18.0)

getoptlong は、GNU の getopt_long() とまったく同じ方式でコマンド 行オプションの解析を行う Ruby のライブラリです。

...`--' で始まります (例: `--version')。
* 長いオプションは、一意に定まる限り後方を省略することができます
(例: `--version' は、`--ver' と略すことができます。ただし、他のオプ
ション名が `--ver' で始まらない場合に限りま...
...
とします。

Usage
: command [option...]
Options:
-m SIZE --max-size SIZE Set maximum size
-q --quiet --silence Suppress all warnings
--help Output this help, then exit
--version Output version number, then exit...
...MENT],
['--quiet', '--silence', '-q', GetoptLong::NO_ARGUMENT],
['--help', GetoptLong::NO_ARGUMENT],
['--version', GetoptLong::NO_ARGUMENT])

getopts モジュールが行っているように、与えられたオプションを
`$OPT_......

rdoc (18.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...ディレクト
リを再帰的に走査します。ただしこの場合 Ruby と C のソースファイルのみが
処理されます。

===[a:usage] 使いかた

RDoc はコマンドラインから以下のようにして起動します。

$ rdoc <options> [name...]

ファイルをパー...
...: --charset charset

生成する HTML の charset を指定します。

可能であれば --encoding を使用してください。

: --coverage-report level, --dcov level

ドキュメントが記述されていない要素に関するレポートを出力します。0 以
下を指...
...ソッドの引数に関するレポー
トを出力します。level を省略した場合は 0 を指定したと見なされます。

: --no-coverage-report, --no-dcov

ドキュメントが記述されていない要素に関するレポートを出力しません。

: --debug

実行時...

rubygems/commands/dependency_command (12.0)

インストールされている Gem パッケージの依存関係を表示するためのライブラリです。

...す。

Usage
: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM 指定したプラットフォームの依存関係を表示します
-R, --[no-]reverse-dep...
...endencies この Gem を使用している Gem を表示します
-p, --pipe Pipe Format (name --version ver)
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモ...
...ュを更新します
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE...

絞り込み条件を変える