85件ヒット
[1-85件を表示]
(0.131秒)
別のキーワード
種類
- 特異メソッド (55)
- 文書 (22)
- インスタンスメソッド (8)
ライブラリ
- ビルトイン (8)
-
irb
/ extend-command (44) -
irb
/ inspector (11)
クラス
- Binding (8)
-
IRB
:: Inspector (11)
モジュール
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (22)
キーワード
- Ruby用語集 (11)
-
def
_ extend _ command (22) -
def
_ inspector (11) -
install
_ extend _ commands (22) -
ruby 1
. 6 feature (11)
検索結果
先頭5件
- IRB
:: ExtendCommandBundle . install _ extend _ commands -> object - IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object - IRB
:: ContextExtender . install _ extend _ commands -> object - Binding
# irb -> object - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object
-
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (29308.0) -
定義済みの拡張を読み込みます。
...
irb で以下のメソッドが利用できるようになります。(それぞれ 1 つだけ抜粋)
* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb......_kill
* irb_help
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_commands... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (29242.0) -
新しい実行結果の出力方式を定義します。
...@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初......じめ require が必要な場合
などに、proc { require "foo" } といった指定を行います。
ブロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspecto......r.def_inspector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
IRB
:: ContextExtender . install _ extend _ commands -> object (29224.0) -
定義済みの拡張を読み込みます。
...みます。
IRB::Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExt... -
Binding
# irb -> object (27325.0) -
REPLのセッションを開始します。
...REPLのセッションを開始します。
2.5.0 からは require 'irb' せずに直接 binding.irb を呼び出しても使えるようになりました。
@see irb... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (26346.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......れたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファイ......的に require されます。
@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (26228.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま......す。
@param load_file cmd_name で指定したメソッドが定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を Symbol で指定します。複数指定する事ができます。... -
ruby 1
. 6 feature (1158.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) ->......[i586-linux]
nil
nil
nil
nil
: 2002-03-14 拡張ライブラリの autoload
拡張ライブラリに対して autoload が効いていませんでした。((<ruby-dev:16379>))
autoload :Fcntl, "fcntl"
require "fcntl"
=> -:2:in `require':......にあります)
: ((<irb>)) & irb-tools
irb と irb-tools がそれぞれ 0.7.4 と 0.7.1 にバージョンアップしました。
: 夏時間
夏時間の考慮に不備がありました(?) ((<ruby-bugs-ja:PR#46>))
env TZ=America/Managua ruby -e 'p Time.local(1998,12,1,0,59,59)... -
Ruby用語集 (104.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...Ruby用語集
A B C D E F G I J M N O R S Y
a ka sa ta na ha ma ya ra wa
=== 記号・数字
: %記法
: % notation
「%」記号で始まる多種多様なリテラル記法の総称。
参照:d:spec/literal#percent
: 0 オリジン
: zero-ba......==[a:I] I
: irb
組込みの対話型 Ruby 実行環境およびそのコマンド名。
irb コマンドで起動し、Ruby の式を入力すればその場で評価して結果を表示する。
名称は interactive Ruby から。
参照:irb
: is-a 関係
Ruby では Object#is_a?......: 組み込みクラス
: built-in class
Array、String など Ruby 処理系に組み込まれているクラス。
ライブラリーを require することなく使うことができる。
参照:_builtin
: 組み込みライブラリー
: built-in library
Ruby 本体に組み込...