るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.030秒)
トップページ > クエリ:new[x] > ライブラリ:e2mmap[x]

別のキーワード

  1. openssl new
  2. _builtin new
  3. rexml/document new
  4. resolv new
  5. socket new

モジュール

キーワード

検索結果

Exception2MessageMapper#Fail(exception_class = nil, *rest) -> () (8.0)

登録されている情報を使用して、例外を発生させます。

...eption :NewExceptionClass, "message...%d, %d and %d" # =>

def foo
Raise NewExceptionClass, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExcepti...
...onClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。...

Exception2MessageMapper#Raise(exception_class = nil, *rest) -> () (8.0)

登録されている情報を使用して、例外を発生させます。

...eption :NewExceptionClass, "message...%d, %d and %d" # =>

def foo
Raise NewExceptionClass, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExcepti...
...onClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。...