378件ヒット
[1-100件を表示]
(0.166秒)
ライブラリ
- ビルトイン (186)
-
irb
/ cmd / help (12) -
irb
/ cmd / subirb (12) -
irb
/ context (12) -
json
/ add / exception (12) - mkmf (48)
-
net
/ smtp (24) - rss (48)
クラス
- Bignum (3)
- Exception (44)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) - Integer (12)
- Module (12)
-
Net
:: SMTP (24) - Numeric (12)
- Object (12)
-
RDoc
:: Options (12) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
RubyVM
:: InstructionSequence (24) - Thread (36)
-
Thread
:: Backtrace :: Location (36) - TracePoint (7)
-
WEBrick
:: Cookie (12)
モジュール
- Kernel (48)
キーワード
- autoload (12)
-
backtrace
_ locations (36) -
base
_ label (24) - domain (36)
- domain= (24)
- ehlo (12)
- execute (24)
-
find
_ library (24) - helo (12)
- inspect (12)
-
instruction
_ sequence (7) - label (12)
-
main
_ page= (12) - raise (12)
- remainder (27)
-
respond
_ to? (12) -
set
_ backtrace (12) -
to
_ json (12) -
to
_ s (12) -
try
_ link (24)
検索結果
先頭5件
-
IRB
:: Context # main -> object (21208.0) -
self に設定されたオブジェクトを返します。
...self に設定されたオブジェクトを返します。
@see cwws コマンド... -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain (12117.0) -
@todo
...@todo... -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain=() (12117.0) -
@todo
...@todo... -
RSS
:: Rss :: Channel :: Item :: Category # domain (12117.0) -
@todo
...@todo... -
RSS
:: Rss :: Channel :: Item :: Category # domain= (12117.0) -
@todo
...@todo... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (9219.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... -
Integer
# remainder(other) -> Numeric (9213.0) -
self を other で割った余り r を返します。
...self を other で割った余り r を返します。
r の符号は self と同じになります。
@param other self を割る数。
//emlist[][ruby]{
5.remainder(3) # => 2
-5.remainder(3) # => -2
5.remainder(-3) # => 2
-5.remainder(-3) # => -2
-1234567890987654321.remainder(13731)......# => -6966
-1234567890987654321.remainder(13731.24) # => -9906.22531493148
//}
@see Integer#divmod, Integer#modulo, Numeric#modulo... -
TracePoint
# instruction _ sequence -> RubyVM :: InstructionSequence (9213.0) -
script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。
...pt_compiledイベント発生時にコンパイルされた
RubyVM::InstructionSequenceインスタンスを返します。
//emlist[例][ruby]{
TracePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval("put......s 'hello'")
end
//}
@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。... -
RDoc
:: Options # main _ page=(val) (9124.0) -
コマンドライン引数の --main オプションと同様の指定を行います。
...コマンドライン引数の --main オプションと同様の指定を行います。
@param val 設定するファイル名、クラス/モジュール名を文字列で指定します。...