るりまサーチ

最速Rubyリファレンスマニュアル検索!
218件ヒット [1-100件を表示] (0.025秒)

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. socket udp_server_loop_on
  5. thread abort_on_exception

検索結果

<< 1 2 3 > >>

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...
<< 1 2 3 > >>