別のキーワード
種類
- 文書 (68)
- インスタンスメソッド (24)
- ライブラリ (12)
ライブラリ
-
irb
/ context (24)
クラス
-
IRB
:: Context (24)
キーワード
-
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Ruby用語集 (12)
-
prompt
_ mode (12) -
prompt
_ mode= (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12)
検索結果
先頭5件
-
irb (39640.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:......ode
プロンプトモードを切り替える。現在定義されているプ
ロンプトモードは、default/simple/xmp/inf-ruby。
--inf-ruby-mode emacsのinf-ruby-mode 用のプロンプト表示を行なう。
特に指定が... -
IRB
:: Context # prompt _ mode -> Symbol (3024.0) -
現在のプロンプトモードを Symbol で返します。
...そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_prompt... -
IRB
:: Context # prompt _ mode=(mode) (3018.0) -
プロンプトモードを mode に設定します。
...@param mode プロンプトモードを Symbol で指定します。オリジナルの
プロンプトモードか、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、
:XMP、:NULL のいずれを指定してください。
@see IRB::Context#prompt_mode, lib:irb#customize_prompt... -
NEWS for Ruby 3
. 0 . 0 (84.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...l:label-TypeProf] is experimentally bundled. It is a
type analysis tool for Ruby programs.
* Deprecation warnings are no longer shown by default (since Ruby 2.7.2).
Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
16345
* `$SAFE` and `$KCODE` are now n......it may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their va......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... -
ruby 1
. 8 . 4 feature (60.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...ck::HTTPRequest#query_string= [new]>))
* ((<ruby 1.8.4 feature/Readline [bug]>))
* ((<ruby 1.8.4 feature/Syck [bug]>))
* ((<ruby 1.8.4 feature/irb [bug]>))
* ((<ruby 1.8.4 feature/RDoc [bug]>))
* ((<ruby 1.8.4 feature/Win32API [bug]>))
* ((<ruby 1.8.4 feature/Rinda [bug]>))
* ((<ruby 1......command table and manipulate other IPs (for reason of security).
# Now, a IP object can be controlled by only its master IP or the
# default IP.
#
# * ext/tk/lib/remote-tk.rb: add restriction to manipulate.
#
# * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_o......#
# * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
# It is harmful to permit the access to ~/public_html by default.
# suggested by Hiroyuki Iwatsuki.
WEBrick::Config::FileHandler[:UserDir]のデフォルト値が
"public_html"からnilにな... -
NEWS for Ruby 2
. 5 . 0 (36.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ink_local? を追加 10912
* irb
* バックトレースとエラーメッセージを逆順で表示するようにしました 8661 [実験的]
* binding.irb を実行したときに自動的に irb を読み込みます 13099 [実験的]
* binding.irb を実行したときに周囲......#state.
* Ripper#state を追加。スキャナーの状態を伝えるためです。13686
* rdoc
* RDoc 6.0.1 に更新
* Replace IRB based lexer with Ripper.
* https://github.com/ruby/rdoc/pull/512
* This much improves the speed of generating documents.
*......=== 標準添付ライブラリの互換性(機能追加とバグ修正を除く)
* Gemification
* 以下の標準添付ライブラリをdefault gemsに変更しました
* cmath
* csv
* date
* dbm
* etc
* fcntl
* fiddle
* fileutils
* g... -
NEWS for Ruby 2
. 7 . 0 (36.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...るようになりました。
* ERB
* ERBのインスタンスをMarshalできないようになりました。
* IRB
* Pry gem に着想を得て、Binding#irbのソース表示、REPLの入力、
いくつかのコアクラスオブジェクトのinspect出力に
シン......= 標準添付ライブラリの互換性 (機能追加とバグ修正を除く)
* 以下のライブラリが新たにdefault gemsになりました。
* 以下のdefault gemがrubygems.orgで公開されました。
* benchmark
* cgi
* delegate
* getoptlong
* n......* singleton
* 以下のdefault gemはruby-coreでの変更のみで、まだrubygems.orgでは公開されていません。
* monitor
* observer
* timeout
* tracer
* uri
* yaml
* did_you_mean gemはbundled gemからdefault gemになりました。
*... -
NEWS for Ruby 3
. 1 . 0 (36.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...代わりにimport_methodsが追加されました。
== 標準添付ライブラリの更新(機能追加とバグ修正を除く)
* 以下のdefault gemsが更新されました。
* RubyGems 3.3.3
* base64 0.1.1
* benchmark 0.2.0
* bigdecimal 3.1.1
* bundler 2.3.3
* cg......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......itest 5.15.0
* power_assert 2.0.1
* rake 13.0.6
* test-unit 3.5.3
* rexml 3.2.5
* rbs 2.0.0
* typeprof 0.21.1
* 以下のdefault gemsがbundled gemsに変更されました。
* net-ftp 0.1.3
* net-imap 0.2.2
* net-pop 0.1.1
* net-smtp 0.3.1
* matrix 0.4... -
Ruby用語集 (36.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...//blade.nagaokaut.ac.jp/ruby/
: bundled gem
標準添付ライブラリーの gem のうち、アンインストールできるもの。
→ default gem、標準添付ライブラリー
: Bundler
特定の Ruby アプリケーションで使用する gem とそのバージョンを Gemfile......uby では、文字列は
エンコーディング情報をもたないバイト列であった。
→エンコーディング
===[a:D] D
: default gem
標準添付ライブラリーの gem のうち、アンインストールできないもの。
→ bundled gem、標準添付ライブ......:rubygems
===[a:I] I
: irb
組込みの対話型 Ruby 実行環境およびそのコマンド名。
irb コマンドで起動し、Ruby の式を入力すればその場で評価して結果を表示する。
名称は interactive Ruby から。
参照:irb
: is-a 関係
Ruby で... -
ruby 1
. 6 feature (36.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...合が修正されたのだそうです。
((<ruby-win32:273>))
: 2002-08-12 Hash#==
Hash オブジェクトはデフォルト値 (((<Hash/default>))) も == で等しい
ときに等しいとみなされるようになりました。
p Hash.new("foo") == Hash.new("bar")
=>......ソッドの戻り値
以下のメソッドの戻り値が正しくなりました。
((<ruby-bugs-ja:PR#182>)), ((<rubyist:1016>))
* Hash#default= が右辺を返すようになった(以前は self を返していた)。
* Dir#pos= が右辺を返すようになった(以前は self を......準ライブラリとして新規に追加されました。
(ドキュメントが doc ディレクトリにあります)
: ((<irb>)) & irb-tools
irb と irb-tools がそれぞれ 0.7.4 と 0.7.1 にバージョンアップしました。
: 夏時間
夏時間の考慮に不備があ... -
NEWS for Ruby 2
. 4 . 0 (18.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...=> で引数のオブジェクトを IPAddr に変換する処理に失敗しても例外が発生しなくなりました
12799
* irb
* Binding#irb binding.pryと同じようにREPLのセッションを開始します。r56624.
* logger
* Logger.new のキーワード引数に l......0
=== C API の更新
* ruby_show_version() will no longer exits the process, if
RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
the future.
* rb_gc_adjust_memory_usage() [Feature #12690]
=== サポートするプラットフォームの変更
* FreeBSD < 4...