36件ヒット
[1-36件を表示]
(0.016秒)
種類
- インスタンスメソッド (24)
- ライブラリ (12)
ライブラリ
- json (24)
クラス
-
JSON
:: State (24)
キーワード
- configure (12)
-
rdoc
/ generator / json _ index (12)
検索結果
先頭3件
-
JSON
:: State # merge(options = {}) -> self (15113.0) -
与えられたハッシュで自身を設定します。
...:State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \... -
rdoc
/ generator / json _ index (18.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...@base_dir = Pathname.pwd.expand_path
@json_index = RDoc::Generator::JsonIndex.new self, options
end
def generate
# ...
@json_index.generate
end
end
=== インデックスフォーマット
検索用のインデックスは JSON ファイルに出力され......ocumentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subjec... -
JSON
:: State # configure(options = {}) -> self (13.0) -
与えられたハッシュで自身を設定します。
...:State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \...