162件ヒット
[1-100件を表示]
(0.058秒)
種類
- インスタンスメソッド (88)
- ライブラリ (55)
- 文書 (19)
ライブラリ
- optparse (55)
-
rubygems
/ command (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / dependency _ command (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Commands :: BuildCommand (11) -
Gem
:: Commands :: DependencyCommand (11) - OptionParser (55)
キーワード
-
NEWS for Ruby 2
. 4 . 0 (8) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- help (11)
- rdoc (11)
-
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ security (11) -
to
_ a (11) -
to
_ s (11) - ver (11)
検索結果
先頭5件
-
Gem
:: Command # usage -> String (18202.0) -
このメソッドはサブクラスで再定義されます。 個々の gem コマンドの使用方法を返します。
このメソッドはサブクラスで再定義されます。
個々の gem コマンドの使用方法を返します。 -
Gem
:: Commands :: BuildCommand # usage -> String (18202.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # usage -> String (18202.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
NEWS for Ruby 2
. 4 . 0 (126.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...Regexp/String: Unicodeのバージョンを8.0.0から9.0.0に更新しました 12513
* RubyVM::Env
* 削除しました
* String
* String#casecmp? を追加 12786
* String#concat, String#prepend 複数の引数を受け付けるようになりました 12333
* String#each_li......付けるようになりました 12553
* String#match? を追加 12898
* String#unpack1 を追加 12752
* String#upcase, String#downcase, String#capitalize, String#swapcase,
String#upcase!, String#downcase!, String#capitalize!, String#swapcase!
は全てのUnicodeに対し......l no longer exits the process, if
RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
the future.
* rb_gc_adjust_memory_usage() [Feature #12690]
=== サポートするプラットフォームの変更
* FreeBSD < 4 はもうサポートしていません
=== 実装... -
OptionParser
# help -> String (114.0) -
サマリの文字列を返します。
...optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage: example.rb [options]
# -v, --[no-]verbose Run verbosely... -
OptionParser
# to _ s -> String (114.0) -
サマリの文字列を返します。
...optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage: example.rb [options]
# -v, --[no-]verbose Run verbosely... -
OptionParser
# banner -> String (113.0) -
サマリの最初に表示される文字列を返します。
...します。
//emlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
p opts.banner # => "Usage: example.rb [options]"
//}... -
OptionParser
# to _ a -> [String] (107.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"]
//}... -
OptionParser
# ver -> String (107.0) -
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",... -
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (48.0)
-
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) ex q num per and or plus minus ast slash hat sq period comma langl rangl eq tilde dollar at under lbrarbra lbra2rbra2 lbra3rbra3 dq colon ac backslash semicolon
...: /xxx/ !~ yyy
正規表現のメソッド =~ の否定。マッチが失敗したらtrueを返します。
===[a:q] ?
: ?a
d:spec/literal#string。長さ 1 の文字列。
: def xx?
この場合の「?」はメソッド名の一部分です。
慣用的に、真偽値を返すタイプ......算子。整数クラスでは「剰余」を意味するメソッド。Numeric#%メソッドなどを参照。
: "%04b" % 10
Stringクラスの「%」演算子。String#% メソッド。文字列中ではフォーマット指定子としても使われる。
: %r{/etc/httpd/logs$} や %w[foo b......行され、
その標準出力が文字列として与えられます。d:spec/literal#commandを参照。
//emlist{
puts `ruby -h`
#=> Usage: ruby [switches] [--] [programfile] [arguments]
#=> ....
//}
===[a:backslash] \
バックスラッシュ。環境によって¥に見えたり...