325件ヒット
[301-325件を表示]
(0.056秒)
別のキーワード
種類
- 文書 (113)
- 定数 (72)
- インスタンスメソッド (60)
- モジュール関数 (56)
- 特異メソッド (24)
ライブラリ
- ビルトイン (66)
- bigdecimal (110)
- rexml (36)
クラス
- BigDecimal (96)
- IO (12)
-
REXML
:: ParseException (36) - SignalException (12)
モジュール
- Kernel (56)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - BigDecimal (14)
-
EXCEPTION
_ ALL (12) -
EXCEPTION
_ INFINITY (12) -
EXCEPTION
_ NaN (12) -
EXCEPTION
_ OVERFLOW (12) -
EXCEPTION
_ UNDERFLOW (12) -
EXCEPTION
_ ZERODIVIDE (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) - Rational (7)
- Ruby用語集 (12)
- context (12)
- line (12)
- mode (24)
- position (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - signo (12)
- spawn (28)
-
write
_ nonblock (12) - 制御構造 (12)
検索結果
-
NEWS for Ruby 3
. 0 . 0 (30.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...redirected to a closed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
* Integer#zero? overrides Numeric#zero? for optimization. 16961
* Enumerable#grep and Enumerable#grep_v when passed a Regexp and no block no longer modi......heir subclasses.
* Method inlining support for some C methods
* `Kernel`: `#class`, `#frozen?`
* `Integer`: `#-@`, `#~`, `#abs`, `#bit_length`, `#even?`, `#integer?`, `#magnitude`, `#odd?`, `#ord`, `#to_i`, `#to_int`, `#zero?`
* `Struct`: reader methods for 10th or later......Classes
class Object
def foo : (Integer) -> String?
end
//}
== Miscellaneous changes
* Methods using `ruby2_keywords` will no longer keep empty keyword splats, those are now removed just as they are for methods not using `ruby2_keywords`.
* When an exception is caught in the default handler,... -
ruby 1
. 8 . 4 feature (30.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * sprintf.c (rb_str_format): integer overflow check added.
#
# * sprintf.c (GETASTER): ditto.
printfのフォーマット指定子にinteger overflowのバグがありました。
perl のそれとは違い、セキュリテ......-talk:165866>))
: Iconv
#Sun Nov 6 23:39:13 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
# bug of underlying library.
errnoが正しくセットされなかったときの例外を追加(Windowsで
ic......values have VALUE type. there is an environment where sizeof(VALUE)
# != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
# and received by 64bit integer (VALUE), upper bits may have garbage value.
# [ruby-dev:27513]
IA64 で、Qtrue Qfalse Qnil が 6... -
制御構造 (18.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
...キーワードを通じてより強力なパターンマッチ構文を提供しています。
//emlist[][ruby]{
case {a: 1, b: 2, c: 3}
in a: Integer => m
"matched: #{m}"
else
"not matched"
end
# => "matched: 1"
//}
パターンマッチ構文についてはspec/pattern_matchingで説明......る処理が成功するまで処理を繰り返すようなループを作
ることができます。
//emlist[][ruby]{
begin
do_something # exception raised
rescue
# handles error
retry # restart from beginning
end
//}
rescue 節以外で retry が用いられた場合には例外 Syntax......e SyntaxError.new("invalid syntax")
raise # 最後の例外の再発生
//}
文法:
raise
raise messageまたはexception
raise error_type, message
raise error_type, message, traceback
例外を発生させます。第一の形式では直前の...