るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

<< 1 2 3 ... > >>

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に似ていますが、
T
hread::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]{
T
racePoint.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 設定するファイル名、クラス/モジュール名を文字列で指定します。...
<< 1 2 3 ... > >>