99件ヒット
[1-99件を表示]
(0.027秒)
トップページ > :indentation
種類
- インスタンスメソッド (44)
- 特異メソッド (44)
- 文書 (11)
ライブラリ
- psych (66)
-
rexml
/ document (22)
クラス
-
Psych
:: Emitter (22) -
Psych
:: Nodes :: Node (22) -
REXML
:: Formatters :: Pretty (11) -
REXML
:: Formatters :: Transitive (11)
モジュール
- Psych (22)
キーワード
- dump (22)
- indentation= (11)
- new (22)
-
ruby 1
. 8 . 4 feature (11) -
to
_ yaml (11) - yaml (11)
検索結果
先頭5件
-
Psych
:: Emitter # indentation -> Integer (18107.0) -
インデントのレベルを返します。
...インデントのレベルを返します。
@see Psych::Emitter#indentation=... -
Psych
:: Emitter # indentation=(level) (6107.0) -
インデントのレベルを指定します。
...インデントのレベルを指定します。
1 から 9 までの整数で指定します。
@param level インデントレベル
@see Psych::Emitter#indentation... -
REXML
:: Formatters :: Pretty . new(indentation=2 , ie _ hack=false) -> REXML :: Formatter :: Pretty (113.0) -
フォーマッタオブジェクトを生成して返します。
...ます。
indentation でインデント幅を(空白の数で)指定します。
ie_hack に真を渡すと、空のタグを閉じる前で空白を挿入します。
これは特定のバージョンのIEのXMLパーサのバグを避けるための機能です。
@param indentation 出力の... -
REXML
:: Formatters :: Transitive . new(indentation=2 , ie _ hack=false) -> REXML :: Formatter :: Transitive (113.0) -
フォーマッタオブジェクトを生成して返します。
...形します。
indentation でインデント幅を指定できます。
ie_hack に真を渡すと、空のタグを閉じる前で空白を挿入します。
これは特定のバージョンのIEのXMLパーサのバグを避けるための機能です。
@param indentation インデント幅... -
Psych
. dump(o , io , options = {}) -> () (30.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか......IO object
Psych.dump(['a', 'b'], StringIO.new) # => #<StringIO:0x000001009d0890>
# Dump an array with indentation set
Psych.dump(['a', ['b']], :indentation => 3) # => "---\n- a\n- - b\n"
# Dump an array to an IO with indentation set
Psych.dump(['a', ['b']], StringIO.new, :indentation => 3)
//}... -
Psych
. dump(o , options = {}) -> String (30.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか......IO object
Psych.dump(['a', 'b'], StringIO.new) # => #<StringIO:0x000001009d0890>
# Dump an array with indentation set
Psych.dump(['a', ['b']], :indentation => 3) # => "---\n- a\n- - b\n"
# Dump an array to an IO with indentation set
Psych.dump(['a', ['b']], StringIO.new, :indentation => 3)
//}... -
Psych
:: Nodes :: Node # to _ yaml(io=nil , options={}) -> String | IO (6.0) -
AST を YAML ドキュメントに変換します。
...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか... -
Psych
:: Nodes :: Node # yaml(io=nil , options={}) -> String | IO (6.0) -
AST を YAML ドキュメントに変換します。
...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか... -
ruby 1
. 8 . 4 feature (6.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
# in irb auto-indentation mode. [ruby-core:06358]
irbのプロンプトに改行文字が含まれているときにオートインデントが
ずれるバグ...