51件ヒット
[1-51件を表示]
(0.013秒)
種類
- インスタンスメソッド (33)
- ライブラリ (11)
- 文書 (7)
ライブラリ
-
irb
/ context (33)
クラス
-
IRB
:: Context (33)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - debug? (11)
-
debug
_ level (11) -
debug
_ level= (11)
検索結果
先頭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:......るようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d $DEBUG を true にする (ruby -d......ン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w... -
IRB
:: Context # debug? -> bool (9173.0) -
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。
...
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。
デフォルト値は false です。
@see IRB::Context#debug_level, IRB::Context#debug_level=... -
IRB
:: Context # debug _ level=(val) (9153.0) -
irb のデバッグレベルを val に設定します。
...
irb のデバッグレベルを val に設定します。
.irbrc ファイル中で IRB.conf[:DEBUG_LEVEL] を設定する事でも同様の操作
が行えます。
@see IRB::Context#debug_level, IRB::Context#debug?... -
IRB
:: Context # debug _ level -> Integer (9141.0) -
irb のデバッグレベルを返します。
...
irb のデバッグレベルを返します。
デフォルト値は 0 です。
@see IRB::Context#debug_level=, IRB::Context#debug?... -
NEWS for Ruby 3
. 1 . 0 (66.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...3.0
* fcntl 1.0.1
* fiddle 1.1.0
* fileutils 1.6.0
* find 0.1.1
* io-console 0.5.10
* io-wait 0.2.1
* ipaddr 1.2.3
* irb 1.4.1
* json 2.6.1
* logger 1.5.0
* net-http 0.2.0
* net-protocol 0.1.2
* nkf 0.1.1
* open-uri 0.2.0
* openssl 3.0.0......更されました。
* net-ftp 0.1.3
* net-imap 0.2.2
* net-pop 0.1.1
* net-smtp 0.3.1
* matrix 0.4.2
* prime 0.1.2
* debug 1.4.0
* 以下が標準添付ライブラリから削除されました。
* dbm
* gdbm
* tracer
* Coverageの計測が一時停......性
* ERB#initializeが-wオプションなしでもsafe_level以降の引数に警告されるようになりました。 14256
* lib/debug.rb が debug.gem に置き換えられました。
* lib/pp.rb の Kernel#pp がデフォルトで IO#winsize の幅を使用するようになりまし... -
NEWS for Ruby 3
. 0 . 0 (18.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...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......ault gems
* The following libraries are promoted to default gems from stdlib.
* English
* abbrev
* base64
* drb
* debug
* erb
* find
* net-ftp
* net-http
* net-imap
* net-protocol
* open-uri
* optparse
* pp...