1013件ヒット
[1-100件を表示]
(0.174秒)
ライブラリ
- ビルトイン (81)
-
irb
/ cmd / chws (22) -
irb
/ cmd / help (11) -
irb
/ cmd / load (33) -
irb
/ cmd / nop (44) -
irb
/ cmd / pushws (33) -
irb
/ cmd / subirb (44) -
irb
/ context (165) -
irb
/ ext / math-mode (4) -
irb
/ ext / save-history (22) -
irb
/ ext / use-loader (44) -
irb
/ extend-command (121) -
irb
/ frame (66) -
irb
/ input-method (209) -
irb
/ inspector (11) -
irb
/ magic-file (11) -
irb
/ output-method (55)
クラス
- Binding (8)
-
IRB
:: Context (191) -
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: Foreground (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: IrbCommand (11) -
IRB
:: ExtendCommand :: Jobs (11) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Nop (44) -
IRB
:: ExtendCommand :: PopWorkspace (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: ExtendCommand :: Workspaces (11) -
IRB
:: FileInputMethod (33) -
IRB
:: Frame (66) -
IRB
:: InputMethod (33) -
IRB
:: Inspector (11) -
IRB
:: OutputMethod (44) -
IRB
:: ReadlineInputMethod (66) -
IRB
:: StdioInputMethod (66) -
IRB
:: StdioOutputMethod (11) -
RubyVM
:: InstructionSequence (11) - Thread (46)
モジュール
- IRB (11)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (121) -
IRB
:: HistorySavingAbility (22) - Kernel (14)
-
RubyVM
:: AbstractSyntaxTree (2)
オブジェクト
-
IRB
:: MagicFile (11)
キーワード
-
$ -K (7) -
$ KCODE (7) -
ENCODING
_ SPEC _ RE (11) -
IDNAME
_ IVARS (11) -
NEWS for Ruby 3
. 0 . 0 (4) -
NO
_ OVERRIDE (11) -
OVERRIDE
_ ALL (11) -
OVERRIDE
_ PRIVATE _ ONLY (11) -
STDIN
_ FILE _ NAME (11) -
auto
_ indent _ mode (11) - backtrace (11)
- bottom (22)
- debug? (11)
-
debug
_ level (11) -
def
_ extend _ command (22) -
def
_ inspector (11) - encoding (33)
- eof? (22)
- execute (165)
-
extend
_ object (11) - extended (11)
-
file
_ name (11) - gets (33)
-
ignore
_ eof (11) -
ignore
_ eof? (11) - inspect (11)
-
inspect
_ mode (11) -
install
_ extend _ commands (22) - io (11)
-
irb
_ context (22) -
irb
_ exit (11) -
irb
_ load (11) -
irb
_ original _ method _ name (11) -
irb
_ require (11) - line (22)
-
load
_ history (11) -
load
_ modules (11) -
math
_ mode (4) - name= (9)
- new (66)
- of (13)
- pp (11)
- ppx (11)
- print (11)
- printn (11)
-
prompt
_ mode (11) - puts (11)
-
readable
_ atfer _ eof? (33) -
report
_ on _ exception (8) -
return
_ format (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) - sender (11)
- thread (11)
-
to
_ s (7) - top (22)
-
trace
_ func (11) -
use
_ loader (11) -
use
_ loader? (11) -
use
_ readline (11) -
use
_ readline? (11)
検索結果
先頭5件
-
irb (66426.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:1> end......す。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読... -
Binding
# irb -> object (30419.0) -
REPLのセッションを開始します。
...REPLのセッションを開始します。
2.5.0 からは require 'irb' せずに直接 binding.irb を呼び出しても使えるようになりました。
@see irb... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (27555.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (24623.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (24555.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (21634.0) -
irb の現在の設定(IRB::Context)を返します。
...
irb の現在の設定(IRB::Context)を返します。... -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (21634.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
:: Context # auto _ indent _ mode -> bool (21506.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
...入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode=... -
IRB
:: STDIN _ FILE _ NAME -> "(line)" (21500.0) -
標準入力を使用する際のファイル名を文字列で返します。
標準入力を使用する際のファイル名を文字列で返します。 -
IRB
:: ExtendCommandBundle # irb _ exit(ret = 0) -> object (21417.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。...