2295件ヒット
[1-100件を表示]
(0.027秒)
ライブラリ
- ビルトイン (961)
- coverage (39)
- csv (132)
- e2mmap (6)
- erb (12)
- fiber (8)
- gdbm (24)
-
irb
/ cmd / nop (24) -
irb
/ ext / save-history (12) -
irb
/ extend-command (72) -
irb
/ frame (12) - json (36)
- matrix (12)
-
mutex
_ m (24) -
net
/ pop (60) - optparse (48)
- prettyprint (12)
- psych (63)
- rake (144)
-
rake
/ packagetask (12) - readline (60)
-
ripper
/ lexer (36) -
ripper
/ sexp (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ dependency _ list (12) - shell (12)
-
shell
/ builtin-command (12) - socket (24)
- tempfile (24)
- thwait (18)
- time (84)
- tmpdir (24)
- tracer (72)
-
webrick
/ httpproxy (12) - win32ole (36)
- zlib (120)
クラス
- Array (24)
- CSV (132)
- Class (24)
- Coverage (39)
- Data (18)
- Dir (144)
- ERB (12)
-
Enumerator
:: Lazy (12) - Fiber (36)
- File (48)
- GDBM (24)
-
Gem
:: DependencyInstaller (12) -
Gem
:: DependencyList (12) - Hash (6)
- IO (276)
-
IRB
:: ExtendCommand :: Nop (24) -
IRB
:: Frame (12) -
JSON
:: Parser (12) - Module (36)
-
Net
:: POP3 (60) - Object (12)
- OptionParser (48)
- PrettyPrint (12)
- Proc (14)
-
Rake
:: FileList (12) -
Rake
:: InvocationChain (24) -
Rake
:: NameSpace (12) -
Rake
:: PackageTask (12) -
Rake
:: TaskArguments (12) - Range (12)
- Regexp (24)
- Ripper (60)
-
RubyVM
:: InstructionSequence (36) - Shell (12)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) - Socket (24)
- Struct (48)
- Symbol (12)
- SystemCallError (12)
- Tempfile (24)
- Thread (96)
- ThreadsWait (18)
- Time (84)
- TracePoint (12)
- Tracer (72)
- Vector (12)
-
WEBrick
:: HTTPProxyServer (12) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12) -
Zlib
:: Deflate (12) -
Zlib
:: GzipReader (60) -
Zlib
:: GzipWriter (24) -
Zlib
:: Inflate (24)
モジュール
- Exception2MessageMapper (6)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (48) -
IRB
:: HistorySavingAbility (12) - JSON (12)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
Mutex
_ m (24) - Psych (51)
- Rake (36)
- RakeFileUtils (48)
- Readline (36)
-
RubyVM
:: AbstractSyntaxTree (10) - Warning (9)
オブジェクト
- ENV (72)
-
Readline
:: HISTORY (24) - main (12)
キーワード
- === (12)
- [] (30)
- accept (12)
-
add
_ filter (24) -
all
_ symbols (12) -
all
_ waits (12) - append (12)
-
append
_ features (12) - application (12)
- application= (12)
- chdir (48)
-
completion
_ append _ character (12) -
completion
_ append _ character= (12) -
completion
_ proc= (12) -
const
_ load (12) - constants (12)
- create (24)
-
create
_ id (12) - current (12)
-
def
_ extend _ command (24) - define (6)
- deflate (12)
- delete (12)
-
delete
_ all (24) - disasm (12)
- disassemble (12)
- each (48)
-
each
_ key (24) -
each
_ pair (24) - execute (12)
-
extend
_ object (30) - extended (12)
- filter (36)
- foreach (12)
- fork (12)
- format (12)
-
from
_ source _ index (12) - generate (12)
-
handle
_ interrupt (12) - httpdate (12)
- independent? (12)
- inflate (12)
-
install
_ extend _ commands (24) -
irb
_ original _ method _ name (12) - iso8601 (12)
-
json
_ create (12) - kill (12)
-
last
_ match (24) - lex (12)
-
line
_ stub (7) - list (12)
- load (15)
-
load
_ stream (24) - mktmpdir (24)
- nesting (12)
- new (362)
-
nowrite
_ flag (12) -
nowrite
_ flag= (12) - of (22)
- on (24)
- open (144)
-
original
_ dir (12) - parse (36)
- pass (12)
- path (12)
-
peek
_ result (12) -
pending
_ interrupt? (12) - pipe (96)
- popen (168)
- progids (12)
- reject (12)
- rename (12)
- result (12)
- rfc2822 (12)
- rfc822 (12)
-
ruby2
_ keywords _ hash? (6) - select (12)
- sender (12)
-
set
_ get _ line _ procs (24) - sexp (12)
-
sexp
_ raw (12) - slice (12)
- start (44)
- strptime (24)
-
tcp
_ server _ loop (24) - tokenize (12)
-
try
_ convert (12) -
unalias
_ command (6) -
undef
_ system _ command (6) - unlink (12)
-
used
_ modules (12) - using (12)
-
verbose
_ flag (12) -
verbose
_ flag= (12) - warn (9)
- wrap (48)
- xmlschema (12)
-
yaml
_ tag (12) - yield (12)
検索結果
先頭5件
- IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle - IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object - IRB
:: ContextExtender . install _ extend _ commands -> object - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object - IRB
:: ExtendCommandBundle . install _ extend _ commands -> object
-
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (9201.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
...IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (9101.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 の別名を Symb... -
IRB
:: ContextExtender . install _ extend _ commands -> object (9101.0) -
定義済みの拡張を読み込みます。
...で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_command... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (9101.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...クラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファイル名......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (9101.0) -
定義済みの拡張を読み込みます。
...* 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... -
Thread
. pending _ interrupt?(error = nil) -> bool (6125.0) -
非同期割り込みのキューが空かどうかを返します。
...iate) {
Thread.pass
}
end
=== 使い方
th = Thread.new{
Thread.handle_interrupt(RuntimeError => :on_blocking){
while true
...
# ここまでで割り込みが発生しても安全な状態になった。
if Thread.pending_interrupt?
Thread.......handle_interrupt(Object => :immediate){}
end
...
end
}
}
...
th.raise # スレッド停止。
この例は以下のように記述する事もできます。
flag = true
th = Thread.new{
Thread.handle_interrupt(RuntimeError => :on_blocking){
while tru......e
...
# ここまでで割り込みが発生しても安全な状態になった。
break if flag == false
...
end
}
}
...
flag = false # スレッド停止
@see Thread#pending_interrupt?, Thread.handle_interrupt... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (6107.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...e::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Exception2MessageMapper
. extend _ object(cl) -> () (6101.0) -
@todo
@todo
@param cl -
IRB
:: Frame . sender -> object (6101.0) -
センダになっているオブジェクトを取り出します。 センダとは、そのメソッドを呼び出した側の self のことです。
センダになっているオブジェクトを取り出します。
センダとは、そのメソッドを呼び出した側の self のことです。