108件ヒット
[1-100件を表示]
(0.043秒)
種類
- 特異メソッド (48)
- インスタンスメソッド (48)
- 文書 (12)
ライブラリ
- psych (72)
-
rexml
/ document (24)
クラス
-
Psych
:: Emitter (24) -
Psych
:: Nodes :: Node (24) -
REXML
:: Formatters :: Pretty (12) -
REXML
:: Formatters :: Transitive (12)
モジュール
- Psych (24)
キーワード
- dump (24)
- indentation= (12)
- new (24)
-
ruby 1
. 8 . 4 feature (12) -
to
_ yaml (12) - yaml (12)
検索結果
先頭5件
-
Psych
:: Emitter # indentation -> Integer (18113.0) -
インデントのレベルを返します。
...インデントのレベルを返します。
@see Psych::Emitter#indentation=... -
Psych
:: Emitter # indentation=(level) (6119.0) -
インデントのレベルを指定します。
...インデントのレベルを指定します。
1 から 9 までの整数で指定します。
@param level インデントレベル
@see Psych::Emitter#indentation... -
ruby 1
. 8 . 4 feature (414.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...# => ruby 1.8.4 (2005-12-16) [i686-linux]
-:1: empty symbol literal
: Symbol [bug]
#Sat Oct 22 13:26:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check
# if valid as a symbol name more strictly. [r......puts :"@1".inspect
puts :"@@1".inspect
puts :"@".inspect
puts :"@@".inspect
# => ruby 1.8.3 (2005-09-21) [i686-linux]
:!
:=
:0
:$1
:@1
:@@1......((<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]
irbのプロンプトに改行文字が含まれてい... -
REXML
:: Formatters :: Pretty . new(indentation=2 , ie _ hack=false) -> REXML :: Formatter :: Pretty (125.0) -
フォーマッタオブジェクトを生成して返します。
...ます。
indentation でインデント幅を(空白の数で)指定します。
ie_hack に真を渡すと、空のタグを閉じる前で空白を挿入します。
これは特定のバージョンのIEのXMLパーサのバグを避けるための機能です。
@param indentation 出力の......インデント幅
@param ie_hack 空のタグを閉じる所にスペースを入れるかどうか... -
REXML
:: Formatters :: Transitive . new(indentation=2 , ie _ hack=false) -> REXML :: Formatter :: Transitive (125.0) -
フォーマッタオブジェクトを生成して返します。
...す。
indentation でインデント幅を指定できます。
ie_hack に真を渡すと、空のタグを閉じる前で空白を挿入します。
これは特定のバージョンのIEのXMLパーサのバグを避けるための機能です。
@param indentation インデント幅
@param i... -
Psych
. dump(o , io , options = {}) -> () (48.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します
@param o 変換するオブジェクト
@......力先
@param options 出力オプション
//emlist[例][ruby]{
# Dump an array, get back a YAML string
Psych.dump(['a', '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
Psyc......h.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 (48.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します
@param o 変換するオブジェクト
@......力先
@param options 出力オプション
//emlist[例][ruby]{
# Dump an array, get back a YAML string
Psych.dump(['a', '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
Psyc......h.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 (18.0) -
AST を YAML ドキュメントに変換します。
...: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します
@param io 書き込み先の IO
@para... -
Psych
:: Nodes :: Node # yaml(io=nil , options={}) -> String | IO (18.0) -
AST を YAML ドキュメントに変換します。
...: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します
@param io 書き込み先の IO
@para...