るりまサーチ

最速Rubyリファレンスマニュアル検索!
1404件ヒット [201-300件を表示] (0.016秒)

別のキーワード

  1. _builtin main
  2. main define_method
  3. main public
  4. main private
  5. main to_s

ライブラリ

モジュール

オブジェクト

検索結果

<< < 1 2 3 4 5 ... > >>

Net::HTTPHeader#main_type -> String|nil (6107.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) (6101.0)

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

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

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

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

...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#%、
Numeric#remainder...

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

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

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

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

@param other self を割る数。

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

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

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

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

絞り込み条件を変える

CGI::Cookie#domain=(value) (6100.0)

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

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

@param value ドメインを指定します。

Integer#remainder(other) -> Numeric (6100.0)

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

...@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#di...

Numeric#remainder(other) -> Numeric (6100.0)

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

...other 自身を割る数を指定します。

//emlist[例][ruby]{
p 13.remainder(4) #=> 1
p (11.5).remainder(3.5) #=> 1.0
p 13.remainder(-4) #=> 1
p (-13).remainder(4) #=> -1
p (-13).remainder(-4) #=> -1
p (-11).remainder(3.5) #=> -0.5
//}

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

RSS::Maker::ChannelBase::CategoriesBase::CategoryBase#domain (6100.0)

@todo

@todo

RSS::Maker::ChannelBase::CategoriesBase::CategoryBase#domain=() (6100.0)

@todo

@todo

絞り込み条件を変える

<< < 1 2 3 4 5 ... > >>