26件ヒット
[1-26件を表示]
(0.024秒)
検索結果
-
IRB
:: Context (18036.0) -
irb の設定を扱うためのクラスです。
...更の内容は反
映されない事に注意してください。
なお、.irbrc 中に記述できる以下の設定値については、IRB::Context
オブジェクトのメソッドとして操作できません。
: IRB.conf[:AT_EXIT]
irb の終了時(サブ irb を含みません)に本......ブジェクトを実行します。ブロック引数には何も渡されません。
デフォルト値は [] です。
: IRB.conf[:CONTEXT_MODE]
新しいワークスペースを作成した時(サブ irb の起動や pushws した時)に、
ワークスペースに関連する Bindi......クトを実行します。ブロック引数には IRB::Context が渡されます。
そのため、サブ irb の設定をまとめて実行するのに使用します。
デフォルト値は nil です。
lib:irb#configure_sub_irb も併せて参照してください。
: IRB.conf[:LC_... -
irb (162.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...mode 以外で readline ライブラリを利用する。
--prompt prompt-mode
--prompt-mode prompt-mode
プロンプトモードを切り替える。現在定義されているプ
ロンプトモードは、default/simple/xmp/inf-ruby。
--inf-ruby-mode......行なう。デフォルト値は 16。
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 で設定する。
(IRB::Context 参照)
--single-irb irb 中で self を......を起動すると、
ローカル変数 x が見えなくなっています。
これが「独立した環境」の意味です。
===[a:configure_sub_irb] サブ irb の設定
irb コマンド起動時のインタプリタの設定は
コマンドラインオプションと IRB.conf の値で決... -
NEWS for Ruby 3
. 0 . 0 (54.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...n Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Procs
accepting a single rest argument and no keywords.
16166
//emlist[][ruby]{......overtaken by the same definition in an
ancestor class/module, a RuntimeError is now raised (previously,
it only issued a warning in verbose mode). Additionally, accessing a
class variable from the toplevel scope is now a RuntimeError.
14541
* Assigning to a numbered parameter is......aluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except h...