るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. pop n_mails
  5. openssl n

検索結果

<< 1 2 3 ... > >>

IRB::Context#main -> object (30302.0)

self に設定されたオブジェクトを返します。

self に設定されたオブジェクトを返します。

@see cwws コマンド

Rake::RDocTask#main -> String (30302.0)

メインとして使用されるファイル名を返します。

メインとして使用されるファイル名を返します。

Exception#backtrace_locations -> [Thread::Backtrace::Location] (18513.0)

バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。

...on#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。

現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。

//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.n...
...0, 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...
..._exception'", "test.rb:15:in `<main>'"]
//}

@see Exception#backtrace...

BigDecimal#remainder(n) -> BigDecimal (18324.0)

self を n で割った余りを返します。

...self を n で割った余りを返します。

@param n self を割る数を指定します。

//emlist[][ruby]{
require 'bigdecimal'
x = BigDecimal((2**100).to_s)
x.remainder(3).to_i # => 1
(-x).remainder(3).to_i # => -1
x.remainder(-3).to_i # => 1
(-x).remainder(-3).to_i # => -1
//}...
...戻り値は self と同じ符号になります。これは BigDecimal#% とは異な
る点に注意してください。詳細は Numeric#%、
N
umeric#remainder を参照して下さい。...

RDoc::Options#main_page -> String | nil (18318.0)

コマンドライン引数の --main オプションで指定したファイル名、クラス/モ ジュール名を返します。

...コマンドライン引数の --main オプションで指定したファイル名、クラス/モ
ジュール名を返します。

指定しなかった場合は nil を返します。...

絞り込み条件を変える

RDoc::Options#main_page=(val) (18318.0)

コマンドライン引数の --main オプションと同様の指定を行います。

...コマンドライン引数の --main オプションと同様の指定を行います。

@param val 設定するファイル名、クラス/モジュール名を文字列で指定します。...

Net::HTTPHeader#main_type -> String|nil (18308.0)

"text/html" における "text" のようなタイプを表す 文字列を返します。

...タイプを表す
文字列を返します。

Content-Type: ヘッダフィールドが存在しない場合には nil を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.main_type # => "text"
//}...

Rake::RDocTask#main=(filename) (18302.0)

メインとして使用されるファイル名をセットします。

メインとして使用されるファイル名をセットします。

Bignum#remainder(other) -> Fixnum | Bignum | Float (18301.0)

self を other で割った余り r を返します。

...self を other で割った余り r を返します。

r の符号は self と同じになります。

@param other self を割る数。

@see Bignum#divmod, Bignum#modulo, Numeric#modulo...

CGI::Cookie#domain -> String (18301.0)

クッキーを適用するドメインを返します。

クッキーを適用するドメインを返します。

絞り込み条件を変える

<< 1 2 3 ... > >>