684件ヒット
[1-100件を表示]
(0.093秒)
ライブラリ
- getoptlong (12)
- json (12)
- optparse (324)
- psych (12)
-
rdoc
/ parser / ruby (12) -
rexml
/ parsers / pullparser (252) -
rexml
/ parsers / ultralightparser (24) - rss (24)
- uri (12)
クラス
- GetoptLong (12)
-
JSON
:: Parser (12) - OptionParser (228)
-
Psych
:: Parser :: Mark (12) -
RDoc
:: Parser :: Ruby (12) -
REXML
:: Parsers :: PullEvent (180) -
REXML
:: Parsers :: PullParser (72) -
REXML
:: Parsers :: UltraLightParser (24) -
RSS
:: Parser (24) -
URI
:: Generic (12)
モジュール
キーワード
- [] (24)
- attlistdecl? (12)
- cdata? (12)
- column (12)
- comment? (12)
-
default
_ argv (12) -
default
_ argv= (12) - doctype? (12)
- each (12)
- elementdecl? (12)
- empty? (12)
-
end
_ element? (12) - entitydecl? (12)
-
event
_ type (12) - getopts (12)
-
has
_ next? (12) -
ignore
_ unknown _ element (12) -
ignore
_ unknown _ element= (12) - instruction? (12)
- notationdecl? (12)
-
on
_ head (12) -
on
_ tail (12) - order! (48)
- parse (36)
- parse! (24)
- peek (12)
- permute (24)
- permute! (24)
- pull (12)
- rewind (12)
- scan (12)
- source (12)
-
start
_ element? (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - text? (12)
-
to
_ a (12) - unshift (12)
- xmldecl? (12)
検索結果
先頭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"]
//}...