73件ヒット
[1-73件を表示]
(0.034秒)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Ruby用語集 (11)
-
get
_ backtrace (11) -
make
_ backtrace (11) -
set
_ backtrace (11)
検索結果
先頭5件
-
static VALUE backtrace(int lev) (38200.0)
-
-
static VALUE get
_ backtrace(VALUE info) (6300.0) -
-
static void set
_ backtrace(VALUE info , VALUE bt) (6300.0) -
-
static VALUE make
_ backtrace(void) (6200.0) -
-
NEWS for Ruby 3
. 0 . 0 (66.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* Interpolated String literals are no longer frozen when
`# frozen-string-literal: true` is used. 17104
* Magic comment `shareable_constant_value` added to freeze constants.
See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
17273
* A {static a......s present and has
a non-empty value, and the standard input and output are tty, the `--help`
option shows the help message via the pager designated by the value.
16754
=== `--backtrace-limit` option
The `--backtrace-limit` option limits the maximum length of a backtrace.
8661
== Core classes upda......rt:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.d... -
Ruby用語集 (54.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...類される。
: 親クラス
=スーパークラス
===[a:ka] か
: 下位クラス
: subclass
=サブクラス
: 返り値
: return value
メソッドが呼び出し側に返すオブジェクトのこと。戻り値ともいう。
また、式の評価値のことを式の返り......る。
: コロン記法(ハッシュの)
ハッシュ式においてキーがシンボルである場合に、キーと値のペアを key: value の
形式で表す記法。ロケット演算子による記法と混在させることもできる。
参照:d:spec/literal#hash
→......また、例外オブジェクトは例外が発生した時点までのスタックトレースを保持しており、
Exception#backtrace や Exception#backtrace_locations で
取り出すことができる。
: スーパークラス
: superclass
クラス B がクラス A のサブクラ... -
NEWS for Ruby 2
. 0 . 0 (42.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* Array#shuffle! と Array#sample の random パラメータには最大値のみを指定することが可能になりました
* Array#values_at に Range オブジェクトを与えた場合、配列の範囲外のインデックスについては nil を返します
* Enumerable......d#backtrace_locations Kernel#caller_locations に似た情報を返します
* 新規クラス: Thread::Backtrace::Location to hold backtrace location
information. These are returned by Thread#backtrace_locations and
Kernel#caller_locations
* 非互換: Thread#join, Thread#value......to the current file or
eval string. [experimental]
=== 組み込みクラスの互換性 (機能追加とバグ修正を除く)
* Array#values_at
上を参照
* String#lines, String#chars, String#codepoints, String#bytes
これらのメソッドはもはや Enumerator を返... -
NEWS for Ruby 3
. 1 . 0 (24.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...thread_id が追加されました。 17853
* Thread::Backtrace
* 新規メソッド
* --backtrace-limit コマンドラインオプションで設定したバックトレースの長さを制限する値を返す Thread::Backtrace.limit が追加されました。 17479
* Thread::Qu......字列がより厳密に整数に変換されるようになりました。
//emlist[Time.new][ruby]{
Time.new(2021, 12, 25, "+07:30")
#=> invalid value for Integer(): "+07:30" (ArgumentError)
//}
* Ruby 3.0 以前では、予期しない結果の 2021-12-25 07:00:00 が返されました。...