るりまサーチ

最速Rubyリファレンスマニュアル検索!
67件ヒット [1-67件を表示] (0.091秒)

別のキーワード

  1. _builtin slice_before
  2. lazy slice_before
  3. enumerable slice_before
  4. json space_before
  5. json space_before=

ライブラリ

クラス

キーワード

検索結果

MiniTest::Spec.before(type = :each) { ... } -> Proc (18102.0)

各テストの前に実行するブロックを登録します。

各テストの前に実行するブロックを登録します。

@param type :each を指定することができます。

@raise RuntimeError type に :each 以外を指定すると発生します。

CSV.new(data, options = Hash.new) -> CSV (13.0)

このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。

...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 の文...

Encoding::Converter.new(convpath) -> Encoding::Converter (7.0)

Encoding::Converter オブジェクトを作成します。

...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 (7.0)

Encoding::Converter オブジェクトを作成します。

...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 (7.0)

Encoding::Converter オブジェクトを作成します。

...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",
#...

絞り込み条件を変える

JSON::State.new(options = {}) -> JSON::State (7.0)

自身を初期化します。

...: :space
JSON 形式の文字列のトークン間に挿入する文字列を指定します。デフォルトは空文字列です。
: :space_before
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の
前に挿入する文字列をセットしま...

Net::POP3.auth_only(address, port = nil, account, password, isapop=false) (7.0)

POP セッションを開き、認証だけを行って接続を切ります。

...POP セッションを開き、認証だけを行って接続を切ります。

主に POP before SMTP のために用意されています。


使用例:

require 'net/pop'

Net::POP3.auth_only('pop.example.com', nil, # using default port (110)
'YourAccount', 'YourPa...