116件ヒット
[1-100件を表示]
(0.028秒)
クラス
- Encoding (11)
-
Encoding
:: Converter (33) - IO (44)
- String (28)
キーワード
-
default
_ internal (11) -
for
_ fd (11) - new (72)
- open (22)
検索結果
先頭5件
- Encoding
. default _ internal -> Encoding | nil - Encoding
:: Converter . new(convpath) -> Encoding :: Converter - Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter - Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter - IO
. for _ fd(fd , mode = "r" , **opts) -> IO
-
Encoding
. default _ internal -> Encoding | nil (15.0) -
既定の内部エンコーディングを返します。デフォルトでは nil です。
...ファイルなどで、内部エンコーディングが指定されていない場合の既定値として利用されます。
String#encode と String#encode! は、引数に Encoding が与えられていない場合、 default_internal を使用します。
文字列リテラルを作成し... -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (9.0) -
Encoding::Converter オブジェクトを作成します。
...コーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Co... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (9.0) -
Encoding::Converter オブジェクトを作成します。
...コーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Co... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (9.0) -
Encoding::Converter オブジェクトを作成します。
...コーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Co... -
IO
. for _ fd(fd , mode = "r" , **opts) -> IO (9.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング......fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング... -
IO
. new(fd , mode = "r" , **opts) -> IO (9.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング......fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング... -
IO
. open(fd , mode = "r" , **opts) -> IO (9.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング......fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング... -
IO
. open(fd , mode = "r" , **opts) {|io| . . . } -> object (9.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング......fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディング... -
String
. new(string = "") -> String (9.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...す。
@param string 文字列
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true
/......ing::ASCII_8BITになります)。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true......string.bytesizeになります。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true
w... -
String
. new(string = "" , encoding: string . encoding) -> String (9.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...ing::ASCII_8BITになります)。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true...