573件ヒット
[1-100件を表示]
(0.038秒)
ライブラリ
- ビルトイン (102)
- irb (12)
-
irb
/ cmd / help (12) -
irb
/ context (240) -
irb
/ ext / save-history (12) -
irb
/ extend-command (24) -
irb
/ input-method (72)
クラス
-
IRB
:: Context (240) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (12) -
IRB
:: ReadlineInputMethod (24) -
IRB
:: StdioInputMethod (24) -
RubyVM
:: InstructionSequence (48) - Thread (42)
- TracePoint (12)
モジュール
- IRB (12)
-
IRB
:: ExtendCommandBundle (24)
キーワード
- Context (12)
-
IDNAME
_ IVARS (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 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) -
NOPRINTING
_ IVARS (12) -
NO
_ INSPECTING _ IVARS (12) - Ruby用語集 (12)
-
_ _ inspect _ _ (12) -
_ _ to _ s _ _ (12) -
absolute
_ path (12) -
ap
_ name (12) -
ap
_ name= (12) - backtrace (12)
-
base
_ label (12) -
def
_ extend _ command (12) - execute (12)
-
file
_ name (12) - gets (36)
-
history
_ file (12) - inspect (24)
-
irb
_ name (12) -
irb
_ name= (12) -
irb
_ original _ method _ name (12) -
irb
_ path (12) - label (12)
- line (24)
-
load
_ modules (12) - name= (10)
- new (24)
- path (12)
-
prompt
_ c (12) -
prompt
_ i (12) -
prompt
_ n (12) -
prompt
_ s (12) -
return
_ format (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
to
_ s (20) - version (12)
検索結果
先頭5件
-
irb (39628.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......す。
$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:.......dll など)を指定した場合は単純に require さ
れます。
: help(*names)
: irb_help(*names)
RI から Ruby のドキュメントを参照します。
//emlist{
irb(main):001:0> help String#match
...
//}
names を指定しなかった場合は、RI を対話的なモード... -
IRB
. version -> String (17123.0) -
IRB のバージョンを文字列で返します。
...
IRB のバージョンを文字列で返します。
~/.irbrc などの設定ファイル内で IRB.conf[:VERSION] を設定していた場合は
任意のバージョンを返すように設定できます。... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (9224.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
IRB
:: Context # irb _ name -> String (9214.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # irb _ path -> String (9202.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # irb _ name=(val) (9119.0) -
起動しているコマンド名を val に設定します。
...起動しているコマンド名を val に設定します。
@param val コマンド名を String で指定します。
@see IRB::Context#irb_name... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (3250.0) -
自身を初期化します。
...身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの......ジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく
作... -
IRB
:: Context (3220.0) -
irb の設定を扱うためのクラスです。
...irb の設定を扱うためのクラスです。
irb 中で conf コマンドの戻り値や .irbrc で IRB.conf を操作する事で設定
を変更します。irb の起動後は IRB.conf の内容を更新しても変更の内容は反
映されない事に注意してください。
なお......、.irbrc 中に記述できる以下の設定値については、IRB::Context
オブジェクトのメソッドとして操作できません。
: IRB.conf[:AT_EXIT]
irb の終了時(サブ irb を含みません)に本項目に設定された Proc オ
ブジェクトを実行します。ブ......るオブジェクトをサブ irb と共有するかど
うかを設定します。true を設定した場合に共有されます。
デフォルト値は false です。
: IRB.conf[:VERSION]
IRB.version を実行した時に返すバージョンを String で指定
します。
デ... -
IRB
:: Context # load _ modules -> [String] (3133.0) -
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ の名前の配列を返します。
...
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など
の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ
の名前の配列を返します。...