498件ヒット
[1-100件を表示]
(0.144秒)
ライブラリ
- ビルトイン (222)
-
irb
/ cmd / help (12) -
irb
/ cmd / subirb (12) -
irb
/ context (12) -
json
/ add / exception (12) - mkmf (48)
-
net
/ http (12) -
net
/ smtp (24) -
rake
/ rdoctask (36) - resolv (12)
- rss (48)
クラス
- Bignum (3)
-
CGI
:: Cookie (12) - Exception (44)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) - Integer (12)
- Module (12)
- NameError (12)
-
Net
:: SMTP (24) - NoMethodError (12)
- Numeric (12)
- Object (12)
-
RDoc
:: Options (24) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
Rake
:: RDocTask (36) -
Resolv
:: DNS :: Name (12) -
RubyVM
:: InstructionSequence (36) - Thread (36)
-
Thread
:: Backtrace :: Location (36) - TracePoint (7)
-
WEBrick
:: Cookie (12)
モジュール
- Kernel (48)
-
Net
:: HTTPHeader (12)
キーワード
- args (12)
- autoload (12)
-
backtrace
_ locations (36) -
base
_ label (24) - domain (48)
- domain= (24)
- ehlo (12)
- execute (24)
-
find
_ library (24) - helo (12)
- inspect (12)
-
instruction
_ sequence (7) - label (12)
- main= (12)
-
main
_ page (12) -
main
_ page= (12) -
main
_ type (12) - raise (12)
- remainder (27)
-
respond
_ to? (12) -
set
_ backtrace (12) -
subdomain
_ of? (12) -
to
_ a (12) -
to
_ json (12) -
to
_ s (24) -
try
_ link (24)
検索結果
先頭5件
-
IRB
:: Context # main -> object (21202.0) -
self に設定されたオブジェクトを返します。
self に設定されたオブジェクトを返します。
@see cwws コマンド -
Rake
:: RDocTask # main -> String (21202.0) -
メインとして使用されるファイル名を返します。
メインとして使用されるファイル名を返します。 -
Net
:: HTTPHeader # main _ type -> String|nil (12208.0) -
"text/html" における "text" のようなタイプを表す 文字列を返します。
..."text/html" における "text" のようなタイプを表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_r......esponse(uri)
res.main_type # => "text"
//}... -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain (12101.0) -
@todo
...@todo... -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain=() (12101.0) -
@todo
...@todo... -
RSS
:: Rss :: Channel :: Item :: Category # domain (12101.0) -
@todo
...@todo... -
RSS
:: Rss :: Channel :: Item :: Category # domain= (12101.0) -
@todo
...@todo... -
RDoc
:: Options # main _ page -> String | nil (9218.0) -
コマンドライン引数の --main オプションで指定したファイル名、クラス/モ ジュール名を返します。
...コマンドライン引数の --main オプションで指定したファイル名、クラス/モ
ジュール名を返します。
指定しなかった場合は nil を返します。... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (9213.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...ption#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Dat......month, -1).day == 31
raise "#{month} is not long month"
end
def get_exception
return begin
yield
rescue => e
e
end
end
e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:in `get_ex......ception'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace...