551件ヒット
[1-100件を表示]
(0.124秒)
ライブラリ
- ビルトイン (210)
- bigdecimal (11)
-
irb
/ cmd / help (11) -
irb
/ cmd / subirb (11) -
irb
/ context (11) -
json
/ add / exception (11) - mkmf (66)
-
net
/ http (11) -
net
/ smtp (22) -
rake
/ rdoctask (33) - resolv (22)
- rss (66)
クラス
- BigDecimal (11)
- Bignum (3)
-
CGI
:: Cookie (22) - Exception (40)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: IrbCommand (11) - Integer (11)
- Module (29)
- NameError (11)
-
Net
:: SMTP (22) - Numeric (11)
- Object (11)
-
RDoc
:: Options (22) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (22) -
RSS
:: Rss :: Channel :: Cloud (22) -
RSS
:: Rss :: Channel :: Item :: Category (22) -
Rake
:: RDocTask (33) -
Resolv
:: DNS :: Name (11) -
Resolv
:: DNS :: Resource :: DomainName (11) -
RubyVM
:: InstructionSequence (33) - Thread (33)
-
Thread
:: Backtrace :: Location (33) - TracePoint (6)
-
WEBrick
:: Cookie (22)
モジュール
- Kernel (66)
-
Net
:: HTTPHeader (11)
キーワード
- autoload (7)
-
backtrace
_ locations (33) -
base
_ label (22) - domain (55)
- domain= (55)
- ehlo (11)
- execute (22)
-
find
_ library (22) -
have
_ library (22) - helo (11)
- inspect (11)
-
instruction
_ sequence (6) - label (11)
- main= (11)
-
main
_ page (11) -
main
_ page= (11) -
main
_ type (11) - name (11)
- raise (11)
- refine (11)
- remainder (36)
-
respond
_ to? (11) -
set
_ backtrace (11) -
subdomain
_ of? (11) -
to
_ a (11) -
to
_ json (11) -
to
_ s (22) -
try
_ link (22) - using (11)
検索結果
先頭5件
-
Rake
:: RDocTask # main -> String (24302.0) -
メインとして使用されるファイル名を返します。
メインとして使用されるファイル名を返します。 -
IRB
:: Context # main -> object (24202.0) -
self に設定されたオブジェクトを返します。
self に設定されたオブジェクトを返します。
@see cwws コマンド -
Integer
# remainder(other) -> Numeric (15201.0) -
self を other で割った余り r を返します。
...//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#modul... -
RDoc
:: Options # main _ page -> String | nil (12318.0) -
コマンドライン引数の --main オプションで指定したファイル名、クラス/モ ジュール名を返します。
...コマンドライン引数の --main オプションで指定したファイル名、クラス/モ
ジュール名を返します。
指定しなかった場合は nil を返します。... -
Net
:: HTTPHeader # main _ type -> String|nil (12308.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"
//}... -
CGI
:: Cookie # domain -> String (12301.0) -
クッキーを適用するドメインを返します。
クッキーを適用するドメインを返します。 -
WEBrick
:: Cookie # domain -> String (12301.0) -
ドメイン名を文字列で表すアクセサです。
ドメイン名を文字列で表すアクセサです。
@param value ドメイン名を表す文字列を指定します。 -
BigDecimal
# remainder(n) -> BigDecimal (12225.0) -
self を n で割った余りを返します。
...します。
//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#%、
Numeric#remainder を参照して下さい。... -
RDoc
:: Options # main _ page=(val) (12218.0) -
コマンドライン引数の --main オプションと同様の指定を行います。
...コマンドライン引数の --main オプションと同様の指定を行います。
@param val 設定するファイル名、クラス/モジュール名を文字列で指定します。... -
Rake
:: RDocTask # main=(filename) (12202.0) -
メインとして使用されるファイル名をセットします。
メインとして使用されるファイル名をセットします。