36件ヒット
[1-36件を表示]
(0.008秒)
別のキーワード
検索結果
-
Psych
. dump(o , io , options = {}) -> () (18156.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...す
: :line_width
「好ましい」行幅を整数値で指定します
@param o 変換するオブジェクト
@param io 出力先
@param options 出力オプション
//emlist[例][ruby]{
# Dump an array, get back a YAML string
Psych.dump(['a', 'b']) # => "---\n- a\n- b\n"
# Dump an array t......o 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.dump(['a', ['b']], StringIO.new, :indentation => 3)... -
Psych
. dump(o , options = {}) -> String (18156.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...す
: :line_width
「好ましい」行幅を整数値で指定します
@param o 変換するオブジェクト
@param io 出力先
@param options 出力オプション
//emlist[例][ruby]{
# Dump an array, get back a YAML string
Psych.dump(['a', 'b']) # => "---\n- a\n- b\n"
# Dump an array t......o 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.dump(['a', ['b']], StringIO.new, :indentation => 3)... -
ruby 1
. 8 . 4 feature (12.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...例はすべて以下のエラーになります。
# %xx$ に指定できる最大値は 2147483647 です。
# -e:1:in `printf': width too big (ArgumentError)
: Hash [bug]
#Wed Nov 23 03:40:49 2005 Guy Decoux <ts@moulon.inra.fr>
#
# * re.c (KR_REHASH): should cast to unsi......da::Tuple#initialize): check remote hash
# tuple. fixed: [ruby-list:41227]
#
# * test/rinda/test_rinda.rb: test it.
Hash全体がdumpできないオブジェクトとして扱われていました。
((<ruby-list:41227>))
: Iconv [compat]
#Sat Oct 8 20:04:40 2005 Nobuyoshi...