330件ヒット
[301-330件を表示]
(0.015秒)
種類
- インスタンスメソッド (192)
- ライブラリ (73)
- クラス (36)
- 文書 (17)
- 特異メソッド (12)
ライブラリ
-
irb
/ cmd / help (24) -
irb
/ extend-command (12) - optparse (180)
- win32ole (12)
クラス
-
IRB
:: ExtendCommand :: Help (12) - OptionParser (180)
モジュール
キーワード
-
NEWS for Ruby 3
. 0 . 0 (5) - Options (12)
- Rubyの起動 (12)
-
WIN32OLE
_ METHOD (12) - execute (12)
- getoptlong (12)
- help (12)
-
install
_ extend _ commands (12) - irb (12)
-
on
_ head (12) -
on
_ tail (12) - parse (24)
- parse! (12)
- rake (12)
- rdoc (12)
- rubygems (12)
-
rubygems
/ commands / dependency _ command (12) - separator (12)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
test
/ unit (1) -
to
_ a (12) -
to
_ s (12)
検索結果
先頭5件
-
OptionParser
# parse!(argv = self . default _ argv , into: nil) -> [String] (12.0) -
与えられた argv をパースします。
...[ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse(ARGV) # => ["test"]
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse!... -
OptionParser
# parse(*args) -> [String] (12.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse(ARGV) # => ["test"]
//}... -
OptionParser
# parse(*args , into: nil) -> [String] (12.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse(ARGV) # => ["test"]
//}... -
OptionParser
# parse(argv) -> [String] (12.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse(ARGV) # => ["test"]
//}... -
OptionParser
# parse(argv , into: nil) -> [String] (12.0) -
与えられた argv をパースします。 argv からオプションを取り除いたものを返します。
...ラスになります。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
ARGV # => ["-i", "-u", "-h", "test"]
opts.parse(ARGV) # => ["test"]
//}...