るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.069秒)
トップページ > クエリ:IO.new[x] > クエリ:>>[x] > クエリ:ExtensionFactory[x] > クエリ:allocation_sourceline[x] > クエリ:import[x] > クエリ:rewind[x] > クラス:REXML::Formatters::Pretty[x]

別のキーワード

  1. _builtin >>
  2. extensionfactory create_extension
  3. date >>
  4. ipaddr >>
  5. extensionfactory create_ext_from_string

ライブラリ

検索結果

REXML::Formatters::Pretty.new(indentation=2, ie_hack=false) -> REXML::Formatter::Pretty (18202.0)

フォーマッタオブジェクトを生成して返します。

...す。

indentation でインデント幅を(空白の数で)指定します。

ie_hack に真を渡すと、空のタグを閉じる前で空白を挿入します。
これは特定のバージョンのIEのXMLパーサのバグを避けるための機能です。

@param indentation 出力のイ...