るりまサーチ

最速Rubyリファレンスマニュアル検索!
68件ヒット [1-68件を表示] (0.087秒)
トップページ > クエリ:-[x] > クエリ:Raise[x] > クエリ:before[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

モジュール

キーワード

検索結果

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

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

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

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

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

ruby 1.8.4 feature (1464.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影響の範囲が小さいと思われる変更もこちら
* [change]: 変更されたクラス/メソッドなど(互換...
...last_error().
# [ruby-dev:27597]
#
# * ext/openssl/ossl.c (ossl_raise): ditto.
#
# ?

#Mon Oct 31 05:49:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
# not be empty. [ruby-talk:161220]
#
# * tes...
....ne.jp>
#
# * ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62)
# [ruby-dev:27839]
#
# * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
# NULL or not before S_FREE.
#
# * st.c: uses malloc instead of xmalloc to avoid GC. syck u...

NEWS for Ruby 3.0.0 (306.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...mlist{
def method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}

* Pattern matching (`case/in`) is no longer experimental. 17260
* One-line pattern matching is redesigned. [EXPERIMENTAL]
* `=>` is added. It can be used like a rightward assignment.
17260
* `in...
...emlist{
0 => a
p a #=> 0

{b: 0, c: 1} => {b:}
p b #=> 0
//}

//emlist{
# version 3.0
0 in 1 #=> false

# version 2.7
0 in 1 #=> raise NoMatchingPatternError
//}

* Find-pattern is added. [EXPERIMENTAL]
16828

//emlist{
case ["a", 1, "b", "c", 2, "d", "e", "f", 3]
in [*pre, String => x, Strin...
...kernel_sleep(...)` in a non-blocking execution context. 16786
* Module
* Module#include and Module#prepend now affect classes and modules that have already included or prepended the receiver, mirroring the behavior if the arguments were included in the receiver before the other modules and cla...

Enumerator::Lazy#chunk_while {|elt_before, elt_after| ... } -> Enumerator::Lazy (207.0)

Enumerable#chunk_while と同じですが、Enumerator ではなく Enumerator::Lazy を返します。

...Enumerable#chunk_while と同じですが、Enumerator ではなく Enumerator::Lazy を返します。

@raise ArgumentError ブロックを指定しなかった場合に発生します。...

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

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

...ode on Windows if this
feature will be used as 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
フィールドをクオート...
...ing quote
for a field. (In truth, it reads to the first line ending beyond this
size.) If a quote cannot be found within the limit CSV will raise a
MalformedCSVError, assuming the data is faulty. You can use this limit to
prevent what are effectively DoS attacks on the parser. Howeve...
...が一つだけ
の場合は配列に格納する必要はありません。
全ての組み込みの変換器は、値を変換する前に UTF-8 にエンコーディング変
換を試みます。エンコーディング変換に失敗した場合はフィールドは変換さ
れませ...

絞り込み条件を変える

Net::POP3#auth_only(account, password) -> () (130.0)

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

...す。

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

使用例:

require 'net/pop'

pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'

@param account アカウント名文字列
@param password パスワード文字列
@raise IOError セッ...
...します
@raise Net::POPAuthenticationError 認証に失敗した、もしくはAPOPを利用しようとしたがサーバがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBa...

JSON.#generate(object, state = nil) -> String (124.0)

与えられたオブジェクトを一行の JSON 形式の文字列に変換して返します。

...ます。デフォルトは空文字列です。
: :space
a string that is put after, a : or , delimiter (default: '')
: :space_before
a string that is put before a : pair delimiter (default: '')
: :object_nl
a string that is put at the end of a JSON object (default: '')
: :array_nl
a string...
...と深さのチェックを行いません。デフォルトは 19 です。

@raise JSON::GeneratorError JSON::NaN, JSON::Infinity,JSON::MinusInfinity
を生成しようとした場合に発生します。

@raise JSON::CircularDatastructure 与えられたオブジェクトが循環参照...

JSON.#unparse(object, state = nil) -> String (124.0)

与えられたオブジェクトを一行の JSON 形式の文字列に変換して返します。

...ます。デフォルトは空文字列です。
: :space
a string that is put after, a : or , delimiter (default: '')
: :space_before
a string that is put before a : pair delimiter (default: '')
: :object_nl
a string that is put at the end of a JSON object (default: '')
: :array_nl
a string...
...と深さのチェックを行いません。デフォルトは 19 です。

@raise JSON::GeneratorError JSON::NaN, JSON::Infinity,JSON::MinusInfinity
を生成しようとした場合に発生します。

@raise JSON::CircularDatastructure 与えられたオブジェクトが循環参照...