35件ヒット
[1-35件を表示]
(0.045秒)
別のキーワード
検索結果
先頭5件
- Exception2MessageMapper
:: E2MM - Exception2MessageMapper
. e2mm _ message(klass , exp) -> String | nil - Exception2MessageMapper
. message(klass , exp) -> String | nil - Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () - Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> ()
-
Exception2MessageMapper
:: E2MM (24000.0) -
Alias of Exception2MessageMapper
...Alias of Exception2MessageMapper... -
Exception2MessageMapper
. e2mm _ message(klass , exp) -> String | nil (12101.0) -
@todo
@todo
@param klass
@param exp -
Exception2MessageMapper
. message(klass , exp) -> String | nil (9001.0) -
@todo
@todo
@param klass
@param exp -
Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () (6302.0) -
登録されている情報を使用して、例外を発生させます。
...@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない... -
Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> () (6302.0) -
登録されている情報を使用して、例外を発生させます。
...@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない... -
NEWS for Ruby 2
. 7 . 0 (30.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...omparable#clampや定数やDSLなどで便利かもしれません。
14799
//emlist[][ruby]{
ary[..3] # identical to ary[0..3]
case RUBY_VERSION
when ..."2.4" then puts "EOL"
# ...
end
age.clamp(..100)
where(sales: ..100)
//}
* 「$;」にnil以外の値を設定すると警告が出る......重代入でのrescue修飾子が単一の代入と同じ振る舞いになりました。 8279
//emlist[][ruby]{
a, b = raise rescue [1, 2]
# Previously parsed as: (a, b = raise) rescue [1, 2]
# Now parsed as: a, b = (raise rescue [1, 2])
//}
* 特異クラス構文での yield は警......* 実験的機能の警告を止める例:
//emlist{
$ ruby -e '0 in a'
-e:1: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!
$ ruby -W:no-experimental -e '0 in a'
//}
* RUBYOPTで両方止めるにはスペース区切りで指定します:
/...