630件ヒット
[201-300件を表示]
(0.112秒)
ライブラリ
- ビルトイン (258)
- bigdecimal (12)
-
irb
/ cmd / help (12) -
irb
/ cmd / subirb (12) -
irb
/ context (12) -
json
/ add / exception (12) - mkmf (72)
-
net
/ http (12) -
net
/ smtp (24) -
rake
/ rdoctask (36) - resolv (24)
- rss (72)
クラス
- BigDecimal (12)
- Bignum (3)
-
CGI
:: Cookie (24) - Exception (44)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) - Integer (12)
- Module (36)
- NameError (24)
-
Net
:: SMTP (24) - NoMethodError (12)
- Numeric (12)
- Object (12)
-
RDoc
:: Options (24) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Rss :: Channel :: Cloud (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
Rake
:: RDocTask (36) -
Resolv
:: DNS :: Name (12) -
Resolv
:: DNS :: Resource :: DomainName (12) -
RubyVM
:: InstructionSequence (36) - Thread (36)
-
Thread
:: Backtrace :: Location (36) - TracePoint (7)
-
WEBrick
:: Cookie (24)
モジュール
- Kernel (72)
-
Net
:: HTTPHeader (12)
キーワード
- args (12)
- autoload (12)
-
backtrace
_ locations (36) -
base
_ label (24) - domain (60)
- domain= (60)
- ehlo (12)
- execute (24)
-
find
_ library (24) -
have
_ library (24) - helo (12)
- inspect (12)
-
instruction
_ sequence (7) - label (12)
- main= (12)
-
main
_ page (12) -
main
_ page= (12) -
main
_ type (12) - name (24)
- raise (12)
- refine (12)
- remainder (39)
-
respond
_ to? (12) -
set
_ backtrace (12) -
subdomain
_ of? (12) -
to
_ a (12) -
to
_ json (12) -
to
_ s (24) -
try
_ link (24) - using (12)
検索結果
先頭5件
-
RSS
:: Rss :: Channel :: Item :: Category # domain= (6101.0) -
@todo
@todo -
Resolv
:: DNS :: Name # subdomain _ of?(other) -> bool (6101.0) -
other が self のサブドメインであるかどうかを返します。
..."
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("z").subdomain_of?(domain) #......=> false
p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false
//}... -
WEBrick
:: Cookie # domain -> String (6101.0) -
ドメイン名を文字列で表すアクセサです。
ドメイン名を文字列で表すアクセサです。
@param value ドメイン名を表す文字列を指定します。 -
WEBrick
:: Cookie # domain=(value) (6101.0) -
ドメイン名を文字列で表すアクセサです。
ドメイン名を文字列で表すアクセサです。
@param value ドメイン名を表す文字列を指定します。 -
Resolv
:: DNS :: Resource :: DomainName # name -> Resolv :: DNS :: Name (3001.0) -
ドメイン名を返します。
ドメイン名を返します。 -
Net
:: SMTP # ehlo(domain) -> Net :: SMTP :: Response (101.0) -
EHLO コマンドを送ります(ESMTP を使います)。
...EHLO コマンドを送ります(ESMTP を使います)。
通常は Net::SMTP.start, Net::SMTP#start で EHLO が
送られるため利用する必要はないはずです。
@param domain EHLOで送るドメイン名... -
Net
:: SMTP # helo(domain) -> Net :: SMTP :: Response (101.0) -
HELO コマンドを送ります(標準的な SMTP を使います)。
...HELO コマンドを送ります(標準的な SMTP を使います)。
通常は Net::SMTP.start, Net::SMTP#start で HELO が
送られるため利用する必要はないはずです。
@param domain HELOで送るドメイン名... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (19.0) -
例外の整形された文字列を返します。
...st):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
$stderr = $stdout
p e.full_message # => "test.rb:2:in `<main>': test (RuntimeError)\n"
$stderr = STDERR
p e.full_message # => "\e[1mTraceback \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (13.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...et_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_exception'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace... -
Exception
# set _ backtrace(errinfo) -> nil | String | [String] (13.0) -
バックトレース情報に errinfo を設定し、設定されたバックトレース 情報を返します。
...定します。
//emlist[例][ruby]{
begin
begin
raise "inner"
rescue
raise "outer"
end
rescue
$!.backtrace # => ["/path/to/test.rb:5:in `rescue in <main>'", "/path/to/test.rb:2:in `<main>'"]
$!.set_backtrace(["dummy1", "dummy2"])
$!.backtrace # => ["dummy1", "dummy2"]
end
//}...