種類
- インスタンスメソッド (36)
- 定数 (15)
- 特異メソッド (14)
クラス
- BasicSocket (1)
-
Encoding
:: Converter (8) -
OpenSSL
:: Cipher :: DES (1) - Pathname (1)
-
Psych
:: Nodes :: Alias (3) -
Psych
:: Nodes :: Document (7) -
Psych
:: Nodes :: Mapping (12) -
Psych
:: Nodes :: Scalar (13) -
Psych
:: Nodes :: Sequence (9) -
Psych
:: Nodes :: Stream (4) -
Psych
:: Stream (2) -
Win32
:: Registry (4)
キーワード
- ANY (3)
- BLOCK (2)
-
DOUBLE
_ QUOTED (1) - FLOW (2)
- FOLDED (1)
- LITERAL (1)
- PLAIN (1)
-
SINGLE
_ QUOTED (1) - UTF16BE (1)
- UTF16LE (1)
- UTF8 (1)
- anchor (4)
- anchor= (2)
- descend (1)
-
destination
_ encoding (1) - implicit (3)
- implicit= (3)
- open (2)
- plain (1)
- plain= (1)
-
primitive
_ convert (4) -
search
_ convpath (1) - send (1)
- start (2)
- style (3)
- style= (1)
- tag (3)
- tag= (1)
-
tag
_ directives (1) -
tag
_ directives= (1) - value (1)
- version (1)
- version= (1)
検索結果
先頭5件
- Psych
:: Nodes :: Mapping . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Mapping - OpenSSL
:: Cipher :: DES . new(mode) -> OpenSSL :: Cipher :: DES - Psych
:: Nodes :: Alias . new(anchor) -> Psych :: Nodes :: Alias - Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter - Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter
-
Psych
:: Nodes :: Mapping . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Mapping (73204.0) -
新たな mapping オブジェクトを生成します。
新たな mapping オブジェクトを生成します。
anchor には mapping に付加されている anchor を文字列で指定します。
anchor を付けない場合には nil を指定します。
tag には mapping に付加されている tag を文字列で指定します。
tag を付けない場合には nil を指定します。
implicit には mapping が implicit に開始されたかどうかを
真偽値で指定します。
style には YAML ドキュメント上の style を整数で指定します。以下のいずれ
かを指定できます。
* Psych::Nodes::... -
OpenSSL
:: Cipher :: DES . new(mode) -> OpenSSL :: Cipher :: DES (72955.0) -
DES 暗号オブジェクトを生成し、返します。
DES 暗号オブジェクトを生成し、返します。
モードを文字列 mode で指定します。
指定可能なモードは OpenSSL::Cipher.ciphers で取得できます。
@param mode モード文字列 -
Psych
:: Nodes :: Alias . new(anchor) -> Psych :: Nodes :: Alias (72904.0) -
新たな Alias オブジェクトを生成します。
新たな Alias オブジェクトを生成します。
anchor で指す先の anchor を指定します。
@param anchor 指す先の anchor -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (64882.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (64882.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter # destination _ encoding -> Encoding (64219.0) -
変換先のエンコーディングを返します。
変換先のエンコーディングを返します。
@return 変換先のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//} -
Psych
:: Nodes :: Scalar . new(value , anchor=nil , tag=nil , plain=true , quoted=false , style=ANY) -> Psych :: Nodes:Scalar (64204.0) -
Scalar オブジェクトを生成します。
Scalar オブジェクトを生成します。
value は scalar の値を文字列で指定します。
anchor には scalar に付加されている anchor を文字列で指定します。
anchor を付けない場合には nil を指定します。
tag には scalar に付加されている tag を文字列で指定します。
tag を付けない場合には nil を指定します。
plain は plain style であるかどうか、quoted は quoted style であるかどうか
を指定します。style には node の style を整数値で渡します。
style は次... -
Psych
:: Nodes :: Sequence . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Sequence (64204.0) -
新たな sequence オブジェクトを生成します。
新たな sequence オブジェクトを生成します。
anchor には sequence に付加されている anchor を文字列で指定します。
anchor を付けない場合には nil を指定します。
tag には sequence に付加されている tag を文字列で指定します。
tag を付けない場合には nil を指定します。
implicit には sequence が implicit に開始されたかどうかを
真偽値で指定します。
style には YAML ドキュメント上の style を整数で指定します。以下のいずれ
かを指定できます。
* Psych::Nod... -
Psych
:: Nodes :: Stream . new(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Nodes :: Stream (64204.0) -
Psych::Nodes::Stream オブジェクトを生成して返します。
Psych::Nodes::Stream オブジェクトを生成して返します。
encoding には stream に使われるエンコーディングを指定します。
以下のいずれかを指定します。
* Psych::Nodes::Node::UTF8
* Psych::Nodes::Node::UTF16BE
* Psych::Nodes::Node::UTF16LE
@param encoding エンコーディング -
Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document (63922.0) -
Document オブジェクトを生成します。
Document オブジェクトを生成します。
version にはドキュメントのバージョンを指定します。
[major, minor] という配列で指定します。
tag_directives には tag directive の配列を指定します。
それぞれの tag は [prefix, suffix] という文字列の配列で
表現します。
implicit にはドキュメントが implicit に始まっているかどうかを
真偽値で指定します。
@param version YAML ドキュメントのバージョン
@param tag_directives tag directive の配列... -
Win32
:: Registry . new(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) (63907.0) -
@todo
@todo
レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。
* Registry Key Security and Access Rights: http://msdn.mic... -
Win32
:: Registry . new(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) {|reg| . . . } (63907.0) -
@todo
@todo
レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。
* Registry Key Security and Access Rights: http://msdn.mic... -
Psych
:: Nodes :: Scalar :: PLAIN -> Integer (27619.0) -
plain scalar style を表します。
plain scalar style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar -
Psych
:: Nodes :: Scalar :: SINGLE _ QUOTED -> Integer (27619.0) -
single quoted style を表します。
single quoted style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar -
Psych
:: Nodes :: Document # implicit -> bool (27319.0) -
ドキュメントが implicit に始まっているかどうかを返します。
ドキュメントが implicit に始まっているかどうかを返します。
@see Psych::Nodes::Document#implicit=,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Document # implicit=(bool) (27319.0) -
ドキュメントが implicit に始まっているかどうかを設定します。
ドキュメントが implicit に始まっているかどうかを設定します。
@param bool ドキュメントが implicit に始まっているかどうかの設定値
@see Psych::Nodes::Document#implicit,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Document # tag _ directives -> [[String , String]] (27319.0) -
tag directive の配列を返します。
tag directive の配列を返します。
@see Psych::Nodes::Document#tag_directives=,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Document # tag _ directives=(tags) (27319.0) -
tag directive の配列を設定します。
tag directive の配列を設定します。
@param tags 設定する tag directive の配列
@see Psych::Nodes::Document#tag_directives,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Document # version -> [Integer] (27319.0) -
YAML ドキュメントのバージョンを返します。
YAML ドキュメントのバージョンを返します。
@see Psych::Nodes::Document#version=,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Document # version=(ver) (27319.0) -
YAML ドキュメントのバージョンを設定します。
YAML ドキュメントのバージョンを設定します。
@param ver 設定するバージョン
@see Psych::Nodes::Document#version,
Psych::Nodes::Document.new -
Psych
:: Nodes :: Mapping # implicit -> bool (27319.0) -
mapping が implicit に開始されたかどうかを真偽値で返します。
mapping が implicit に開始されたかどうかを真偽値で返します。
@see Psych::Nodes::Mapping#implicit=,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # implicit=(bool) (27319.0) -
mapping が implicit に開始されたかどうかを真偽値で設定します。
mapping が implicit に開始されたかどうかを真偽値で設定します。
@param bool 設定値
@see Psych::Nodes::Mapping#implicit,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Scalar # plain -> bool (27319.0) -
scalar が plain style であるかどうかを返します。
scalar が plain style であるかどうかを返します。
@see Psych::Nodes::Scalar#plain=,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar # plain=(bool) (27319.0) -
scalar が plain style であるかどうかを変更します。
scalar が plain style であるかどうかを変更します。
@param bool 設定する真偽値
@see Psych::Nodes::Scalar#plain,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar :: LITERAL -> Integer (27319.0) -
literal style を表します。
literal style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar -
Psych
:: Nodes :: Sequence # implicit -> bool (27319.0) -
sequence が implicit に開始されたかどうかを真偽値で返します。
sequence が implicit に開始されたかどうかを真偽値で返します。
@see Psych::Nodes::Sequence#implicit=,
Psych::Nodes::Sequence.new -
Psych
:: Nodes :: Sequence # implicit=(bool) (27319.0) -
sequence が implicit に開始されたかどうかを真偽値で設定します。
sequence が implicit に開始されたかどうかを真偽値で設定します。
@param bool 設定値
@see Psych::Nodes::Sequence#implicit,
Psych::Nodes::Sequence.new -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol (19219.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (19219.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (18919.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Pathname
# descend {|pathname| . . . } -> nil (18637.0) -
self のパス名の親から子供へと辿っていったときの各パス名を新しい Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま す。 ブロックを省略した場合は Enumerator を返します。
self のパス名の親から子供へと辿っていったときの各パス名を新しい
Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま
す。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new('/path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:/>
# #<Pathname:/path>
# #<Pathname:/path/to>
# #<Pathname:/path/to/s... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (18619.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Win32
:: Registry . open(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) (18607.0) -
@todo
@todo
レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。
* Registry Key Security and Access Rights: http://msdn.mic... -
Win32
:: Registry . open(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) {|reg| . . . } (18607.0) -
@todo
@todo
レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。
* Registry Key Security and Access Rights: http://msdn.mic... -
Psych
:: Nodes :: Alias # anchor -> String (18319.0) -
alias が指す先の anchor を返します。
alias が指す先の anchor を返します。
@see Psych::Nodes::Alias#anchor=,
Psych::Nodes::Alias.new -
Psych
:: Nodes :: Mapping # anchor -> String|nil (18319.0) -
mapping に付加された anchor を返します。
mapping に付加された anchor を返します。
@see Psych::Nodes::Mapping#anchor=,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # style -> Integer (18319.0) -
mapping の style を返します。
mapping の style を返します。
@see Psych::Nodes::Mapping#style=,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # tag -> String|nil (18319.0) -
mapping に付加された tag を返します。
mapping に付加された tag を返します。
@see Psych::Nodes::Mapping#tag=,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping :: ANY -> Integer (18319.0) -
「任意」のスタイルを意味します。
「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping -
Psych
:: Nodes :: Mapping :: BLOCK -> Integer (18319.0) -
block style を表します。
block style を表します。
@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping -
Psych
:: Nodes :: Mapping :: FLOW -> Integer (18319.0) -
flow style を表します。
flow style を表します。
@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping -
Psych
:: Nodes :: Alias # anchor=(val) (18019.0) -
alias が指す先の anchor を変更します。
alias が指す先の anchor を変更します。
@param val 設定する anchor
@see Psych::Nodes::Alias#anchor,
Psych::Nodes::Alias.new -
Psych
:: Nodes :: Mapping # anchor=(a) (18019.0) -
mapping に付加する anchor を設定します。
mapping に付加する anchor を設定します。
@param a 設定する anchor
@see Psych::Nodes::Mapping#anchor,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # style=(sty) (18019.0) -
mapping の style を設定します。
mapping の style を設定します。
@param sty 設定する style
@see Psych::Nodes::Mapping#style,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # tag=(t) (18019.0) -
mapping に付加する tag を設定します。
mapping に付加する tag を設定します。
@param t 設定する tag
@see Psych::Nodes::Mapping#anchor=,
Psych::Nodes::Mapping.new -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (10237.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
@param source_encoding 変換元の文字エンコーディングを Encoding オ
ブジェクトか文字列で指定します。
@param destination_encoding 変換先の文字エンコーディングを
Encoding オブジェクトか文字列で指定し
ます。
@param options 変換の詳細を指定する定数やハッシュを指定します。
... -
BasicSocket
# send(mesg , flags , dest _ sockaddr = nil) -> Integer (9619.0) -
ソケットを介してデータを送ります。flags に関しては send(2) を参照してください。connect していないソケット に対しては送り先である dest_sockaddr を指定する必要があります。実際に送っ たデータの長さを返します。
ソケットを介してデータを送ります。flags に関しては
send(2) を参照してください。connect していないソケット
に対しては送り先である dest_sockaddr を指定する必要があります。実際に送っ
たデータの長さを返します。
dest_sockaddr には「ソケットアドレス構造体を pack した文字列」
を指定します。
データの送信に失敗した場合は例外 Errno::EXXX が発生します。
@param mesg 送信するデータを文字列で指定します。
@param flags send(2) の flags を参照してください。
@... -
Psych
:: Nodes :: Scalar # anchor -> String|nil (9319.0) -
scalar に付加された anchor を返します。
scalar に付加された anchor を返します。
@see Psych::Nodes::Scalar#anchor=,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar # style -> Integer (9319.0) -
scalar の style を返します。
scalar の style を返します。
@see Psych::Nodes::Scalar#style=,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar # tag -> String|nil (9319.0) -
scalar に付加された tag を返します。
scalar に付加された tag を返します。
@see Psych::Nodes::Scalar#tag=,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar # value -> String (9319.0) -
scalar の値を返します。
scalar の値を返します。
@see Psych::Nodes::Scalar#value=,
Psych::Nodes::Scalar.new -
Psych
:: Nodes :: Scalar :: ANY -> Integer (9319.0) -
「任意」のスタイルを意味します。
「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style -
Psych
:: Nodes :: Scalar :: DOUBLE _ QUOTED -> Integer (9319.0) -
double quoted style を表します。
double quoted style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar -
Psych
:: Nodes :: Scalar :: FOLDED -> Integer (9319.0) -
folded style を表します。
folded style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar -
Psych
:: Nodes :: Sequence # anchor -> String|nil (9319.0) -
sequence に付加された anchor を返します。
sequence に付加された anchor を返します。
@see Psych::Nodes::Sequence#anchor=,
Psych::Nodes::Sequence.new -
Psych
:: Nodes :: Sequence # style -> Integer (9319.0) -
sequence の style を返します。
sequence の style を返します。
@see Psych::Nodes::Sequence#style=,
Psych::Nodes::Sequence.new -
Psych
:: Nodes :: Sequence # tag -> String|nil (9319.0) -
sequence に付加された tag を返します。
sequence に付加された tag を返します。
@see Psych::Nodes::Sequence#tag=,
Psych::Nodes::Sequence.new -
Psych
:: Nodes :: Sequence :: ANY -> Integer (9319.0) -
「任意」のスタイルを意味します。
「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence -
Psych
:: Nodes :: Sequence :: BLOCK -> Integer (9319.0) -
block style を表します。
block style を表します。
@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence -
Psych
:: Nodes :: Sequence :: FLOW -> Integer (9319.0) -
flow style を表します。
flow style を表します。
@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style -
Psych
:: Nodes :: Stream :: UTF16BE -> Integer (9319.0) -
UTF16BE エンコーディングを表します。
UTF16BE エンコーディングを表します。
Psych::Parser::UTF16BE と同じ値です。
@see Psych::Nodes::Stream.new -
Psych
:: Nodes :: Stream :: UTF16LE -> Integer (9319.0) -
UTF16LE エンコーディングを表します。
UTF16LE エンコーディングを表します。
Psych::Parser::UTF16LE と同じ値です。
@see Psych::Nodes::Stream.new -
Psych
:: Nodes :: Stream :: UTF8 -> Integer (9319.0) -
UTF8 エンコーディングを表します。
UTF8 エンコーディングを表します。
Psych::Parser::UTF8 と同じ値です。
@see Psych::Nodes::Stream.new -
Psych
:: Stream # start(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Stream (619.0) -
Ruby オブジェクトを YAML document に変換するための準備をします。
Ruby オブジェクトを YAML document に変換するための準備をします。
変換された document は Psych::Stream.new で指定した
出力先に出力されます。
finish を呼び出すことで出力が完了します(finish を呼び出さないと
最後まで出力されない場合があります)。
ブロック付きで start を呼び出すと、変換準備を終えた Stream オブジェクト
(self) がブロックに渡され、ブロックが呼び出された後に finish を呼び出します。
これによって finish を確実に呼び出すことができます。
@param encoding 出... -
Psych
:: Stream # start(encoding = Psych :: Nodes :: Stream :: UTF8) {|em| . . . } -> Psych :: Stream (619.0) -
Ruby オブジェクトを YAML document に変換するための準備をします。
Ruby オブジェクトを YAML document に変換するための準備をします。
変換された document は Psych::Stream.new で指定した
出力先に出力されます。
finish を呼び出すことで出力が完了します(finish を呼び出さないと
最後まで出力されない場合があります)。
ブロック付きで start を呼び出すと、変換準備を終えた Stream オブジェクト
(self) がブロックに渡され、ブロックが呼び出された後に finish を呼び出します。
これによって finish を確実に呼び出すことができます。
@param encoding 出...