別のキーワード
種類
ライブラリ
- ビルトイン (189)
- irb (120)
-
irb
/ cmd / chws (48) -
irb
/ cmd / help (24) -
irb
/ cmd / load (72) -
irb
/ cmd / nop (60) -
irb
/ cmd / pushws (72) -
irb
/ cmd / subirb (96) -
irb
/ completion (12) -
irb
/ context (816) -
irb
/ ext / history (24) -
irb
/ ext / loader (24) -
irb
/ ext / math-mode (12) -
irb
/ ext / save-history (108) -
irb
/ ext / tracer (36) -
irb
/ ext / use-loader (60) -
irb
/ extend-command (168) -
irb
/ frame (84) -
irb
/ help (12) -
irb
/ input-method (288) -
irb
/ inspector (84) -
irb
/ magic-file (48) -
irb
/ output-method (96) -
irb
/ workspace (12) - pathname (24)
- psych (24)
- socket (12)
クラス
- Binding (9)
-
IRB
:: Context (972) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Jobs (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (48) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
IRB
:: FileInputMethod (36) -
IRB
:: Frame (72) -
IRB
:: InputMethod (48) -
IRB
:: Inspector (48) -
IRB
:: OutputMethod (60) -
IRB
:: ReadlineInputMethod (72) -
IRB
:: StdioInputMethod (72) -
IRB
:: StdioOutputMethod (12) - Pathname (24)
-
RubyVM
:: InstructionSequence (84) - Socket (12)
- Thread (60)
- TracePoint (12)
モジュール
- IRB (120)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (144) -
IRB
:: HistorySavingAbility (36) - Kernel (38)
-
RubyVM
:: AbstractSyntaxTree (10)
オブジェクト
-
IRB
:: MagicFile (36)
キーワード
-
$ -K (7) -
$ KCODE (7) - Abort (12)
- ChangeWorkspace (12)
- Completor (12)
- Context (12)
- ContextExtender (12)
- CurrentContext (12)
- CurrentWorkingWorkspace (12)
-
ENCODING
_ SPEC _ RE (12) - ExtendCommandBundle (12)
- FileInputMethod (12)
- Foreground (12)
- Frame (12)
- Help (12)
- HistorySavingAbility (12)
-
IDNAME
_ IVARS (12) - INSPECTORS (12)
- IRB (12)
- InputMethod (12)
- Inspector (24)
- Irb (12)
- IrbCommand (12)
- IrbLoader (12)
- Jobs (12)
- Kill (12)
- Load (12)
- LoadAbort (12)
- MagicFile (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) -
NO
_ OVERRIDE (12) - Nop (12)
-
OVERRIDE
_ ALL (12) -
OVERRIDE
_ PRIVATE _ ONLY (12) - OutputMethod (12)
- PopWorkspace (12)
- PushWorkspace (12)
- ReadlineInputMethod (12)
- Require (12)
- Ruby用語集 (12)
-
STDIN
_ FILE _ NAME (12) - Source (12)
- StdioInputMethod (12)
- StdioOutputMethod (12)
- WorkSpace (12)
- Workspaces (12)
-
_ _ inspect _ _ (12) -
_ _ to _ s _ _ (12) -
absolute
_ path (12) -
ap
_ name (12) -
ap
_ name= (12) -
auto
_ indent _ mode (12) -
auto
_ indent _ mode= (12) -
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - backtrace (12)
-
base
_ label (12) - bottom (24)
-
compile
_ file (12) - conf (12)
- debug? (12)
-
debug
_ level (12) -
debug
_ level= (12) -
def
_ extend _ command (24) -
def
_ inspector (12) - echo (12)
- echo= (12)
- echo? (12)
- encoding (36)
- eof? (24)
-
eval
_ history (12) -
eval
_ history= (12) - evaluate (12)
- execute (180)
- exit (12)
-
extend
_ object (12) - extended (12)
-
file
_ input? (12) -
file
_ name (12) -
first
_ lineno (12) - gethostbyname (12)
- gets (48)
- glob (24)
-
history
_ file (12) -
history
_ file= (12) -
ignore
_ eof (12) -
ignore
_ eof= (12) -
ignore
_ eof? (12) -
ignore
_ sigint (12) -
ignore
_ sigint= (12) -
ignore
_ sigint? (12) - init (12)
-
init
_ save _ history (12) - inspect (24)
- inspect? (12)
-
inspect
_ mode (12) -
inspect
_ mode= (12) -
inspect
_ value (12) -
install
_ alias _ method (12) -
install
_ extend _ commands (24) - io (12)
- io= (12)
-
irb
/ cmd / chws (12) -
irb
/ cmd / help (12) -
irb
/ cmd / load (12) -
irb
/ cmd / nop (12) -
irb
/ cmd / pushws (12) -
irb
/ cmd / subirb (12) -
irb
/ completion (12) -
irb
/ context (12) -
irb
/ ext / change-ws (12) -
irb
/ ext / history (12) -
irb
/ ext / loader (12) -
irb
/ ext / math-mode (4) -
irb
/ ext / multi-irb (12) -
irb
/ ext / save-history (12) -
irb
/ ext / tracer (12) -
irb
/ ext / use-loader (12) -
irb
/ ext / workspaces (12) -
irb
/ extend-command (12) -
irb
/ frame (12) -
irb
/ help (12) -
irb
/ init (12) -
irb
/ input-method (12) -
irb
/ inspector (12) -
irb
/ locale (12) -
irb
/ magic-file (12) -
irb
/ notifier (12) -
irb
/ output-method (12) -
irb
/ ruby-lex (12) -
irb
/ ruby-token (12) -
irb
/ slex (6) -
irb
/ src _ encoding (12) -
irb
/ version (12) -
irb
/ workspace (12) -
irb
/ ws-for-case-2 (12) -
irb
/ xmp (12) - irb= (12)
-
irb
_ abort (12) -
irb
_ at _ exit (12) -
irb
_ context (24) -
irb
_ exit (24) -
irb
_ load (12) -
irb
_ name (12) -
irb
_ name= (12) -
irb
_ original _ method _ name (12) -
irb
_ path (12) -
irb
_ path= (12) -
irb
_ require (12) -
keys
_ with _ inspector (12) - label (12)
-
last
_ value (12) - line (24)
-
load
_ history (12) -
load
_ modules (12) - main (12)
- math? (4)
-
math
_ mode (4) -
math
_ mode= (4) - name= (10)
- new (84)
- of (22)
- open (24)
- path (12)
- pp (12)
- ppx (12)
- print (24)
-
print
_ usage (12) - printn (12)
-
prompt
_ c (12) -
prompt
_ c= (12) -
prompt
_ i (12) -
prompt
_ i= (12) -
prompt
_ mode (12) -
prompt
_ mode= (12) -
prompt
_ n (12) -
prompt
_ n= (12) -
prompt
_ s (12) -
prompt
_ s= (12) - prompting? (12)
-
psych
_ y (12) - puts (12)
- rc (12)
- rc? (12)
-
readable
_ atfer _ eof? (36) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
return
_ format (12) -
return
_ format= (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
save
_ history (24) -
save
_ history= (12) - sender (12)
-
set
_ last _ value (12) - start (12)
- thread (12)
-
to
_ s (20) - top (24)
-
trace
_ func (12) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12) -
use
_ readline (12) -
use
_ readline? (12) -
use
_ tracer (12) -
use
_ tracer= (12) -
use
_ tracer? (12) - verbose (12)
- verbose= (12)
- verbose? (12)
- version (12)
- workspace (12)
- workspace= (12)
- y (12)
- コマンド (12)
検索結果
先頭5件
-
irb (39610.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
:foo
irb(main):007:0>
また irb コマンドは readline ライブラリにも対応しています。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマ... -
IRB
. irb _ exit(irb , ret) -> object (23236.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。... -
IRB
. irb _ abort(irb , exception = Abort) (23226.0) -
実行中の処理を中断します。必ず例外が発生するため、何も返しません。
...例外が発生するため、何も返しません。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param exception 発生させる例外を指定します。指定しなかった場合は
IRB::Abort が発生します。
@raise exception 引数 exceptio... -
IRB
. irb _ at _ exit -> () (23101.0) -
at_exit で登録された処理を実行します。
at_exit で登録された処理を実行します。
ユーザが直接使用するものではありません。 -
IRB
:: Context # irb -> IRB :: Irb (21303.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Binding
# irb -> object (18119.0) -
REPLのセッションを開始します。
...REPLのセッションを開始します。
2.5.0 からは require 'irb' せずに直接 binding.irb を呼び出しても使えるようになりました。
@see irb... -
IRB
. CurrentContext -> IRB :: Context (17133.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
. start(ap _ path = nil) -> () (17038.0) -
IRB を初期化して、トップレベルの irb を開始します。
...
IRB を初期化して、トップレベルの irb を開始します。
@param ap_path irb コマンドのパスを指定します。... -
IRB
. version -> String (17022.0) -
IRB のバージョンを文字列で返します。
...
IRB のバージョンを文字列で返します。
~/.irbrc などの設定ファイル内で IRB.conf[:VERSION] を設定していた場合は
任意のバージョンを返すように設定できます。...