るりまサーチ

最速Rubyリファレンスマニュアル検索!
88件ヒット [1-88件を表示] (0.094秒)
トップページ > クエリ:-[x] > クエリ:indentation[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

Psych::Emitter#indentation -> Integer (18207.0)

インデントのレベルを返します。

...インデントのレベルを返します。


@see Psych::Emitter#indentation=...

ruby 1.8.4 feature (1458.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影響の範囲が小さいと思われる変更もこちら
* [change]: 変更されたクラス/メソッドなど(互換...
...xed: [ruby-talk:166529]

式展開で空のSymbolを作ることができたバグの修正。 ((<ruby-talk:166529>))

p :""

# => ruby 1.8.3 (2005-09-21) [i686-linux]
-
:1: empty symbol literal
# => ruby 1.8.4 (2005-12-16) [i686-linux]
-
:1: empty...
...を修正。((<ruby-dev:27384>)), ((<ruby-core:6385>)) ((<ruby-dev:27839>))

: irb [bug]

#Tue Oct 25 15:32:00 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]

ir...

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

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

...ます。

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

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

@param indentation 出力の...

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

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

...形します。

indentation
でインデント幅を指定できます。

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

@param indentation インデント幅...

Psych.dump(o, io, options = {}) -> () (160.0)

Ruby のオブジェクト o を YAML ドキュメントに変換します。

...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか...
...'b']) # => "---\n- a\n- b\n"

# Dump an array to an 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.dum...
...p(['a', ['b']], StringIO.new, :indentation => 3)
//}...

絞り込み条件を変える

Psych.dump(o, options = {}) -> String (160.0)

Ruby のオブジェクト o を YAML ドキュメントに変換します。

...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか...
...'b']) # => "---\n- a\n- b\n"

# Dump an array to an 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.dum...
...p(['a', ['b']], StringIO.new, :indentation => 3)
//}...

Psych::Nodes::Node#to_yaml(io=nil, options={}) -> String | IO (106.0)

AST を YAML ドキュメントに変換します。

...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか...

Psych::Nodes::Node#yaml(io=nil, options={}) -> String | IO (106.0)

AST を YAML ドキュメントに変換します。

...う配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうか...