342件ヒット
[1-100件を表示]
(0.147秒)
種類
- ライブラリ (155)
- インスタンスメソッド (143)
- クラス (22)
- 定数 (11)
- 特異メソッド (11)
ライブラリ
-
irb
/ help (11) -
net
/ imap (11) - openssl (11)
- optparse (88)
-
rdoc
/ rdoc (11) -
rubygems
/ command (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / which _ command (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Commands :: BuildCommand (11) -
Gem
:: Commands :: DependencyCommand (11) -
Net
:: IMAP :: MailboxQuota (11) - OptionParser (88)
-
RDoc
:: RDoc (11)
モジュール
- IRB (11)
-
OpenSSL
:: X509 (11)
キーワード
- Options (11)
-
V
_ ERR _ KEYUSAGE _ NO _ CERTSIGN (11) - WhichCommand (11)
- document (11)
- help (11)
-
on
_ head (11) -
on
_ tail (11) - optparse (11)
-
print
_ usage (11) - rdoc (11)
-
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ security (11) - separator (11)
-
test
/ unit (1) -
to
_ a (11) -
to
_ s (11) - ver (11)
検索結果
先頭5件
-
Gem
:: Commands :: BuildCommand # usage -> String (21301.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
Net
:: IMAP :: MailboxQuota # usage -> Integer (21301.0) -
現在のメールボックス内の使用量を返します。
現在のメールボックス内の使用量を返します。 -
Gem
:: Command # usage -> String (18301.0) -
このメソッドはサブクラスで再定義されます。 個々の gem コマンドの使用方法を返します。
このメソッドはサブクラスで再定義されます。
個々の gem コマンドの使用方法を返します。 -
Gem
:: Commands :: DependencyCommand # usage -> String (18301.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
IRB
. print _ usage -> () (12301.0) -
irb コマンドのヘルプを表示します。
...
irb コマンドのヘルプを表示します。... -
OpenSSL
:: X509 :: V _ ERR _ KEYUSAGE _ NO _ CERTSIGN -> Integer (12300.0) -
署名できない証明書で署名しようしとたことを意味します。
署名できない証明書で署名しようしとたことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
rubygems
/ security (6372.0) -
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
...るとそれらを作成することができます。
# gemmaster@example.com のための秘密鍵と証明書を作成します
$ gem cert --build gemmaster@example.com
あなたのコンピュータの性能にもよりますが、これには 5 秒から 10 分程度かかります。
(......カレントディレクトリに "gem-private_key.pem", "gem-public_cert.pem"
の二つのファイルができます。
まずは、なるべくあなただけがアクセスできる場所に "gem-private_key.pem" を移動させて
ください。 FD, CD-ROM など同じくらい安全なもの......lib2-Ruby-0.5.0.gem -P HighSecurity
今回は、RubyGems はあなたの署名付きパッケージを受け入れ、インストールを開始するはずです。
RubyGems が魔法をかけている間に、他のセキュリティに関するコマンドを見ておきましょう。
Usage... -
OptionParser
# on _ tail(*arg , &block) -> self (6236.0) -
オプションを取り扱うためのブロックを自身の持つリストの最後に登録します。
...。
--version や --help の説明をサマリの最後に表示したい時に便利です。
@param arg OptionParser#on と同様です。
@param block OptionParser#on と同様です。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")......ts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
puts opts.help
# => Usage: test [options]
# -i, --init
# -u, --update
# -h, --help
//}
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new
opts.on_tail("-h", "--help", "Show this message") do
puts opts
exit
end......opts.on_tail("--version", "Show version") do
puts OptionParser::Version.join('.')
exit
end
//}
@see OptionParser#on, OptionParser#on_head... -
rubygems
/ commands / install _ command (6204.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
...ライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定さ......ールします
Install/Update Options:
-i, --install-dir DIR Gem パッケージのインストー先を指定します
-n, --bindir DIR Gem パッケージに含まれるバイナリファイルの配置先を指定します
-d, --[no-]rdoc......RDoc を生成します
--[no-]ri インストール時に RI ドキュメントを生成します
-E, --[no-]env-shebang インストールするスクリプトの shebang line を書き換えます(/usr/bin/env)
-f, --[no-]force... -
test
/ unit (6126.0) -
ユニットテストを行うためのライブラリです。
...してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある訳で......グフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html
=== 使い方
Test::Unit は以下のように使います。
まずテスト対象のソ......tions, 1 failures, 0 errors, 0 skips
--name=test_barのような指定は行えません。
以下のようにすると help も表示されます。
$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-h, --help Display this help.
-s, --s...