ライブラリ
- ビルトイン (758)
- bigdecimal (12)
-
irb
/ cmd / help (12) -
irb
/ cmd / subirb (12) -
irb
/ context (24) -
irb
/ inspector (12) -
json
/ add / exception (12) - mkmf (72)
-
net
/ http (12) -
net
/ smtp (24) -
rake
/ rdoctask (36) - resolv (36)
- rss (72)
- socket (60)
- timeout (12)
クラス
- BigDecimal (12)
- Bignum (3)
-
CGI
:: Cookie (24) - Data (6)
- Dir (24)
- Exception (44)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: Inspector (12) - Integer (12)
- Module (36)
- NameError (24)
-
Net
:: SMTP (24) - NoMethodError (12)
- Numeric (12)
- Object (12)
- Proc (14)
-
RDoc
:: Options (24) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Rss :: Channel :: Cloud (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
Rake
:: RDocTask (36) -
Resolv
:: DNS :: Name (12) -
Resolv
:: DNS :: Resource :: DomainName (12) -
RubyVM
:: InstructionSequence (72) - Socket (60)
- Struct (48)
- Thread (78)
-
Thread
:: Backtrace :: Location (36) - TracePoint (7)
-
WEBrick
:: Cookie (24)
モジュール
- Kernel (192)
-
Net
:: HTTPHeader (12)
オブジェクト
- main (126)
キーワード
- Context (12)
- DomainError (12)
- DomainName (12)
- Enumerator (12)
- Error (12)
- Fiber (12)
- FloatDomainError (12)
- Location (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - NameError (12)
- Ruby用語集 (12)
- [] (20)
- abort (12)
- args (12)
-
at
_ exit (12) - autoload (12)
-
backtrace
_ locations (36) -
base
_ label (24) - caller (36)
-
caller
_ locations (24) -
compile
_ file (12) -
def
_ inspector (12) - define (6)
-
define
_ method (24) - disasm (12)
- disassemble (12)
- domain (60)
- domain= (60)
- ehlo (12)
- execute (24)
-
find
_ library (24) - gethostbyname (12)
- gets (12)
- glob (16)
-
have
_ library (24) - helo (12)
- include (12)
- inspect (24)
-
instruction
_ sequence (7) - irb (12)
-
irb
/ completion (12) - label (12)
- logger (12)
- main= (12)
-
main
_ page (12) -
main
_ page= (12) -
main
_ type (12) - name (24)
- new (62)
- open (12)
- pair (12)
- pass (12)
- private (27)
- public (27)
- raise (12)
-
rake
/ rdoctask (12) -
rb
_ thread _ main (12) - rdoc (12)
- readline (12)
- readlines (12)
- refine (12)
- remainder (39)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 9 feature (12) -
set
_ backtrace (12) - socketpair (12)
-
subdomain
_ of? (12) -
to
_ a (12) -
to
_ json (12) -
to
_ s (36) -
try
_ link (24) - using (24)
- 正規表現 (12)
検索結果
先頭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