504件ヒット
[201-300件を表示]
(0.056秒)
別のキーワード
ライブラリ
- csv (72)
- json (24)
-
net
/ http (108) - optparse (288)
-
rexml
/ streamlistener (12)
クラス
- CSV (36)
-
CSV
:: FieldInfo (36) -
JSON
:: Parser (24) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (36) - OptionParser (288)
モジュール
-
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (36) -
REXML
:: StreamListener (12)
キーワード
- accept (12)
-
body
_ stream (12) -
body
_ stream= (12) - convert (36)
- entitydecl (12)
- fetch (36)
- header (12)
- help (12)
- index (12)
- line (12)
- load (12)
-
on
_ head (12) -
on
_ tail (12) - parse! (12)
-
program
_ name (12) -
program
_ name= (12) -
read
_ body (24) - reject (12)
- release (12)
- response (12)
- separator (12)
- source (12)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
to
_ a (12) -
to
_ s (12) - value (12)
- ver (12)
検索結果
先頭5件
- OptionParser
# program _ name -> String - OptionParser
# program _ name=(name) - OptionParser
# release -> String - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> ()
-
OptionParser
# program _ name -> String (3019.0) -
プログラムの名前を文字列で返します。
...字列で返します。
デフォルトは $0 が使われます。
@return プログラムの名前を文字列で返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
p $0 # => /path/to/filename.rb
p opts.program_name # => filename
end
//}... -
OptionParser
# program _ name=(name) (3019.0) -
プログラムの名前を文字列で指定します。
...名前を文字列で指定します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
$0 # => /path/to/filename.rb
opts.program_name # => filename
opts.program_name = 'test' # => "test"
opts.program_name # => "test"
end
//}... -
OptionParser
# release -> String (3019.0) -
プログラムのリリースを文字列で返します。
...プログラムのリリースを文字列で返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
opts.release # => nil
opts.release = "2019-05-01"
opts.release # => "2019-05-01"
end
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (3019.0) -
サマリを指定された to へと加えていきます。
...マリのインデントを文字列で指定します。
//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.summarize
# => [" -i, --init\n", " -u, --update\n", " -h,... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (3019.0) -
サマリを指定された to へと加えていきます。
...マリのインデントを文字列で指定します。
//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.summarize
# => [" -i, --init\n", " -u, --update\n", " -h,... -
OptionParser
# summary _ indent -> String (3019.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.summary_indent # => " "
opts.summarize
# => [" -i, -... -
OptionParser
# summary _ indent=(indent) (3019.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.summary_indent # => " "
opts.summarize
# => [" -i, -... -
OptionParser
# summary _ width -> Integer (3019.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.summary_width # => 32
opts.summarize
# => [" -i, --init\n",... -
OptionParser
# summary _ width=(width) (3019.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.summary_width # => 32
opts.summarize
# => [" -i, --init\n",...