627件ヒット
[1-100件を表示]
(0.140秒)
ライブラリ
- getoptlong (11)
- json (11)
- optparse (297)
- psych (11)
-
rdoc
/ parser / ruby (11) -
rexml
/ parsers / pullparser (231) -
rexml
/ parsers / ultralightparser (22) - rss (22)
- uri (11)
クラス
- GetoptLong (11)
-
JSON
:: Parser (11) - OptionParser (209)
-
Psych
:: Parser :: Mark (11) -
RDoc
:: Parser :: Ruby (11) -
REXML
:: Parsers :: PullEvent (165) -
REXML
:: Parsers :: PullParser (66) -
REXML
:: Parsers :: UltraLightParser (22) -
RSS
:: Parser (22) -
URI
:: Generic (11)
モジュール
キーワード
- [] (22)
- attlistdecl? (11)
- cdata? (11)
- column (11)
- comment? (11)
-
default
_ argv (11) -
default
_ argv= (11) - doctype? (11)
- each (11)
- elementdecl? (11)
- empty? (11)
-
end
_ element? (11) - entitydecl? (11)
-
event
_ type (11) - getopts (11)
-
has
_ next? (11) -
ignore
_ unknown _ element (11) -
ignore
_ unknown _ element= (11) - instruction? (11)
- notationdecl? (11)
-
on
_ head (11) -
on
_ tail (11) - order! (44)
- parse (33)
- parse! (22)
- peek (11)
- permute (22)
- permute! (22)
- pull (11)
- rewind (11)
- scan (11)
- source (11)
-
start
_ element? (11) - summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) - text? (11)
-
to
_ a (11) - unshift (11)
- xmldecl? (11)
検索結果
先頭5件
- URI
:: Generic # parser -> URI :: Parser - REXML
:: Parsers :: PullParser # pull -> REXML :: Parsers :: PullEvent - REXML
:: Parsers :: PullParser # unshift(token) -> () - 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| . . . } -> ()
-
URI
:: Generic # parser -> URI :: Parser (21319.0) -
selfのパーサを返します。未定義であった場合は URI::DEFAULT_PARSER を返します。
...selfのパーサを返します。未定義であった場合は URI::DEFAULT_PARSER を返します。... -
REXML
:: Parsers :: PullParser # pull -> REXML :: Parsers :: PullEvent (15301.0) -
イベントキューの先頭のイベントを取り出し、キューからそれを取り除きます。
...出し、キューからそれを取り除きます。
@raise REXML::ParseException XML文書のパースに失敗した場合に発生します
@raise REXML::UndefinedNamespaceException XML文書のパース中に、定義されていない名前空間
が現れた場合に発生します... -
REXML
:: Parsers :: PullParser # unshift(token) -> () (12101.0) -
イベントキューの先頭に token を追加します。
...イベントキューの先頭に token を追加します。
@param token 先頭に追加するイベント(REXML::Parsers::PullEvent オブジェクト)... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (9319.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, --help\n"]
opts.summarize(["description\n"], 10......, 8, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (9319.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, --help\n"]
opts.summarize(["description\n"], 10......, 8, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
REXML
:: Parsers :: PullParser # peek(depth = 0) -> REXML :: Parsers :: PullEvent | nil (9201.0) -
イベントキューの先頭から depth 番目のイベントを取り出します。
...ら depth 番目のイベントを取り出します
@raise REXML::ParseException XML文書のパースに失敗した場合に発生します
@raise REXML::UndefinedNamespaceException XML文書のパース中に、定義されていない名前空間
が現れた場合に発生します... -
JSON
:: Parser # source -> String (9119.0) -
現在のソースのコピーを返します。
...スのコピーを返します。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
# => }
__END__
{......"Tanaka": {
"name":"tanaka",
"age":20
},
"Suzuki": {
"name":"suzuki",
"age":25
}
}
//}... -
OptionParser
# summary _ indent -> String (9119.0) -
サマリを表示する時のインデントを文字列で返します。
...turn サマリを表示する時のインデントを文字列で返します。
//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.sum......marize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ indent=(indent) (9119.0) -
サマリを表示する時のインデントを文字列で指定します。
...t[例][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, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_i......ndent = " " # => " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (9119.0) -
サマリを表示するときの幅を整数で返します。
...す。
@return サマリを表示するときの幅を整数で返します。
//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", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...