るりまサーチ

最速Rubyリファレンスマニュアル検索!
37件ヒット [1-37件を表示] (0.014秒)
トップページ > クエリ:sub[x] > クエリ:mode[x] > クエリ:irb[x]

別のキーワード

  1. _builtin sub
  2. pathname sub
  3. string sub
  4. string sub!
  5. _builtin sub!

種類

ライブラリ

キーワード

検索結果

irb (39712.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...irb は Interactive Ruby の略です。
irb
を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
irb
コマンドを実行すると、以下のようなプロン...
...mode 以外で readline ライブラリを利用する。
--prompt prompt-mode
--prompt-mode prompt-mode
プロンプトモードを切り替える。現在定義されているプ
ロンプトモードは、default/simple/xmp/inf-ruby。
--inf-ruby-mode...
...rom (irb#1):1:in `Kernel#binding'

起動時のインタプリタでローカル変数 x を定義しましたが、
irb」でサブ irb を起動すると、
ローカル変数 x が見えなくなっています。
これが「独立した環境」の意味です。

===[a:configure_sub_irb]...

IRB::Context (3226.0)

irb の設定を扱うためのクラスです。

...irb の設定を扱うためのクラスです。

irb
中で conf コマンドの戻り値や .irbrc で IRB.conf を操作する事で設定
を変更します。irb の起動後は IRB.conf の内容を更新しても変更の内容は反
映されない事に注意してください。

なお...
...きません。

: IRB.conf[:AT_EXIT]

irb
の終了時(サブ irb を含みません)に本項目に設定された Proc オ
ブジェクトを実行します。ブロック引数には何も渡されません。

デフォルト値は [] です。

: IRB.conf[:CONTEXT_MODE]

新しいワ...
...す。ブロック引数には IRB::Context が渡されます。
そのため、サブ irb の設定をまとめて実行するのに使用します。

デフォルト値は nil です。

lib:irb#configure_sub_irb も併せて参照してください。

: IRB.conf[:LC_MESSAGES]

ライ...

ruby 1.6 feature (138.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...変更は元に戻りました。

p "#{ "" }"

=> ruby 1.6.7 (2002-03-01) [i586-linux]
""

=> -:1: warning: bad substitution in string
ruby 1.6.7 (2002-09-12) [i586-linux]
"#{ }"

=> ruby 1.6.7 (2002-09-25) [i586-linux]
""...
...[i586-linux]

=> ruby 1.6.7 (2002-07-30) [i586-linux]
"0"

: 2002-05-23 -* オプション(?)

以前まで、

#! ruby -*- mode: ruby -*-

のような Emacs の '-*-' 指定を使用したスクリプトのために -* 以降を無
視する(何もしないオプショ...
...準ライブラリとして新規に追加されました。
(ドキュメントが doc ディレクトリにあります)

: ((<irb>)) & irb-tools

irb
irb-tools がそれぞれ 0.7.4 と 0.7.1 にバージョンアップしました。

: 夏時間

夏時間の考慮に不備があ...

NEWS for Ruby 3.0.0 (30.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
sub
ject 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...
...Ractor compatible.
* Etc
* Update to Etc 1.2.0
* This version is Ractor compatible.
* Fiddle
* Update to Fiddle 1.0.5
* IRB
* Update to IRB 1.2.6
* JSON
* Update to JSON 2.5.0
* This version is Ractor compatible.
* Set
* Update to set 1.0.0
* SortedSet has...