218件ヒット
[1-100件を表示]
(0.025秒)
ライブラリ
- ビルトイン (62)
-
cgi
/ core (24) -
irb
/ context (24) -
net
/ ftp (36) -
net
/ imap (24) - rake (24)
-
rubygems
/ remote _ fetcher (12) -
webrick
/ httpresponse (12)
クラス
-
Encoding
:: Converter (12) - Exception (8)
-
Gem
:: RemoteFetcher (12) -
IRB
:: Context (24) -
Net
:: FTP (36) -
Net
:: IMAP (24) - Thread (18)
-
WEBrick
:: HTTPResponse (12)
モジュール
-
CGI
:: QueryExtension :: Value (24) - Enumerable (24)
-
Rake
:: TaskManager (24)
キーワード
- []= (12)
- first (12)
-
last
_ description (12) -
last
_ description= (12) -
last
_ error (12) -
last
_ response (12) -
last
_ response _ code (12) -
last
_ value (12) - lastresp (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - request (12)
- responses (12)
- select (12)
-
set
_ last _ value (12) -
slice
_ before (24)
検索結果
先頭5件
-
CGI
:: QueryExtension :: Value # last -> self (18102.0) -
@todo
@todo -
Rake
:: TaskManager # last _ description=(description) (12320.0) -
最新の詳細説明をセットします。
...の記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
task.application.last_description # => "test2"
task.application.last_description = "test3"
task.application.last_description # => "test3"
end
desc "test2"
task :test_rake_app2 do |task|
end
//}... -
Thread
# report _ on _ exception -> bool (12245.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......:1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread......:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# report _ on _ exception=(newstate) (12245.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......:1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread......:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Net
:: FTP # last _ response -> String (12208.0) -
サーバからの最後の応答を文字列で返します。
...サーバからの最後の応答を文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230 Login successful.\n" を返します。
@see Net::FTP#last_response_code... -
Net
:: FTP # last _ response _ code -> String (12208.0) -
サーバからの最後の応答のコードを文字列で返します。
...サーバからの最後の応答のコードを文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230" を返します。
数字の意味は 959 参照してください。
@see Net::FTP#last_response... -
Encoding
:: Converter # last _ error -> Exception | nil (9220.0) -
直前に変換器で発生した例外に相当する例外オブジェクトを返します。 直前の変換で例外が発生していない場合は nil を返します。
...ncoding::Converter.new("utf-8", "iso-8859-1")
p ec.primitive_convert(src="\xf1abcd", dst="") #=> :invalid_byte_sequence
p ec.last_error #=> #<Encoding::InvalidByteSequenceError: "\xF1" followed by "a" on UTF-8>
p ec.primitive_convert(src, dst, nil, 1) #=> :destination_buffer_f... -
Rake
:: TaskManager # last _ description -> String (9209.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_app2 do |task|
end
//}... -
Net
:: FTP # lastresp -> String (9108.0) -
サーバからの最後の応答のコードを文字列で返します。
...サーバからの最後の応答のコードを文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230" を返します。
数字の意味は 959 参照してください。
@see Net::FTP#last_response...