73件ヒット
[1-73件を表示]
(0.039秒)
別のキーワード
ライブラリ
- ビルトイン (36)
- csv (12)
- json (12)
-
minitest
/ spec (1) -
net
/ pop (12)
クラス
- CSV (12)
-
Encoding
:: Converter (36) -
JSON
:: State (12) -
MiniTest
:: Spec (1) -
Net
:: POP3 (12)
検索結果
先頭5件
- MiniTest
:: Spec . before(type = :each) { . . . } -> Proc - Net
:: POP3 . auth _ only(address , port = nil , account , password , isapop=false) - 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
-
MiniTest
:: Spec . before(type = :each) { . . . } -> Proc (18108.0) -
各テストの前に実行するブロックを登録します。
...各テストの前に実行するブロックを登録します。
@param type :each を指定することができます。
@raise RuntimeError type に :each 以外を指定すると発生します。... -
Net
:: POP3 . auth _ only(address , port = nil , account , password , isapop=false) (37.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...主に POP before SMTP のために用意されています。
使用例:
require 'net/pop'
Net::POP3.auth_only('pop.example.com', nil, # using default port (110)
'YourAccount', 'YourPassword')
@param address POP3サーバのホスト名文字列
@param port 接......続するPOP3サーバのポート番号
@param account アカウント名文字列
@param password パスワード文字列
@param isapop 真でAPOPを利用します
@raise Net::POPAuthenticationError 認証に失敗した、もしくはAPOPを利用しようとしたがサーバがAPOPを提供... -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (31.0) -
Encoding::Converter オブジェクトを作成します。
...Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では Str......TF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, if the last encoding is ASCII incompatible,
# decorators are inserted before the last conversion.
ec = Encoding::Converter.new("UTF-8", "UTF-16BE", :crlf_newline => true)
p ec.convpath #=> ["crlf_newline",
#... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (31.0) -
Encoding::Converter オブジェクトを作成します。
...Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では Str......TF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, if the last encoding is ASCII incompatible,
# decorators are inserted before the last conversion.
ec = Encoding::Converter.new("UTF-8", "UTF-16BE", :crlf_newline => true)
p ec.convpath #=> ["crlf_newline",
#... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (31.0) -
Encoding::Converter オブジェクトを作成します。
...Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では Str......TF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, if the last encoding is ASCII incompatible,
# decorators are inserted before the last conversion.
ec = Encoding::Converter.new("UTF-8", "UTF-16BE", :crlf_newline => true)
p ec.convpath #=> ["crlf_newline",
#... -
CSV
. new(data , options = Hash . new) -> CSV (25.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...O を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。
@param options CSV をパースする......s the line-ending translation can cause
problems with resetting the document position to where it was before the
read ahead. This String will be transcoded into the data's Encoding before parsing.
: :quote_char
フィールドをクオートする文字を指定します。長さ 1 の文... -
JSON
:: State . new(options = {}) -> JSON :: State (13.0) -
自身を初期化します。
...自身を初期化します。
@param options ハッシュを指定します。
指定可能なオプションは以下の通りです。
: :indent
インデントに使用する文字列を指定します。デフォルトは空文字列です。
: :space
JSON 形式の文字列のト......ークン間に挿入する文字列を指定します。デフォルトは空文字列です。
: :space_before
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の
前に挿入する文字列をセットします。デフォルトは空文字列です...