1171件ヒット
[101-200件を表示]
(0.175秒)
ライブラリ
- ビルトイン (252)
- date (50)
-
fiddle
/ import (24) - json (12)
-
net
/ ftp (24) -
net
/ http (67) -
net
/ imap (36) -
net
/ smtp (48) - openssl (120)
-
rdoc
/ code _ object (24) -
rdoc
/ context (120) -
rinda
/ rinda (48) -
rinda
/ tuplespace (60) -
rubygems
/ security (216) - set (18)
- time (24)
- timeout (16)
- un (12)
クラス
- Array (10)
- DateTime (50)
- FalseClass (60)
-
Gem
:: Security :: Policy (156) -
Gem
:: Security :: Signer (60) -
Net
:: FTP (24) -
Net
:: HTTP (67) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseText (12) -
Net
:: SMTP (48) -
OpenSSL
:: Config (96) -
OpenSSL
:: SSL :: SSLContext (24) -
RDoc
:: CodeObject (24) -
RDoc
:: Context (36) -
RDoc
:: Context :: Section (84) -
Rinda
:: TupleEntry (12) -
Rinda
:: TupleSpace (48) -
Rinda
:: TupleSpaceProxy (48) - Set (24)
- String (21)
- Symbol (21)
- Time (158)
モジュール
-
Fiddle
:: Importer (24) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) - Kernel (28)
キーワード
- & (12)
- - (24)
- == (12)
- [] (12)
- []= (12)
- ^ (12)
-
add
_ value (12) -
auth
_ cram _ md5 (12) -
auth
_ login (12) -
auth
_ plain (12) - authenticate (12)
- casecmp (24)
- casecmp? (18)
-
cert
_ chain (12) -
cert
_ chain= (12) - code (12)
- comment (12)
-
continue
_ timeout= (12) -
current
_ section (12) - data (12)
-
deconstruct
_ keys (4) - each (12)
-
get
_ value (12) - inspect (24)
- intersect? (16)
- intersection (18)
- iso8601 (12)
-
keep
_ alive _ timeout= (12) - key (12)
- key= (12)
- name (12)
- notify (24)
- nsec (12)
-
only
_ signed (12) -
only
_ signed= (12) -
only
_ trusted (12) -
only
_ trusted= (12) -
open
_ timeout= (24) - parent (12)
- read (24)
-
read
_ timeout= (24) - renew (12)
-
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - section (24)
- section= (12)
- sections (24)
- sequence (12)
-
set
_ comment (12) -
set
_ current _ section (12) - sign (12)
- sizeof (12)
-
ssl
_ timeout= (24) - struct (12)
- subsec (12)
- take (24)
- timeout (16)
- timeout= (12)
- title (12)
-
to
_ a (12) -
to
_ i (12) -
to
_ json (12) -
to
_ s (12) -
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - usec (12)
- value (12)
-
verify
_ chain (12) -
verify
_ chain= (12) -
verify
_ data (12) -
verify
_ data= (12) -
verify
_ gem (12) -
verify
_ root (12) -
verify
_ root= (12) -
verify
_ signer (12) -
verify
_ signer= (12) -
wait
_ writable (12) - write (24)
-
write
_ timeout= (7) - xmlschema (12)
- | (12)
検索結果
先頭5件
-
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (12301.0) -
現在の section を返します。
...現在の section を返します。... -
Time
# tv _ nsec -> Integer (12219.0) -
時刻のナノ秒の部分を整数で返します。
...す。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.nsec # => 6000
//}
IEEE 754 浮動小数点数で表現できる精度が違うため、Time#to_fの最小
の桁とnsecの最小の桁は異なります。nsecで表され... -
Time
# tv _ usec -> Integer (12219.0) -
時刻のマイクロ秒の部分を整数で返します。
...時刻のマイクロ秒の部分を整数で返します。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.6f" % t.to_f #=> "946749845.000006"
p t.usec #=> 6
//}... -
Array
# intersect?(other) -> bool (12201.0) -
other と共通の要素が少なくとも1個あれば true を、なければ false を返します。
...other と共通の要素が少なくとも1個あれば true を、なければ false を返します。
//emlist[例][ruby]{
a = [ 1, 2, 3 ]
b = [ 3, 4, 5 ]
c = [ 5, 6, 7 ]
a.intersect?(b) # => true
a.intersect?(c) # => false
//}... -
Array
# intersection(*other _ arrays) -> Array (12201.0) -
自身と引数に渡された配列の共通要素を新しい配列として返します。 要素が重複する場合は、そのうちの1つのみを返します。 要素の順序は自身の順序を維持します。
...持します。
@param other_arrays 自身と共通要素を取りたい配列を指定します。
配列以外のオブジェクトを指定した場合は to_ary
メソッドによる暗黙の型変換を試みます。
@raise TypeError 引数に配列以......合に発生します。
intersectionはObject#hashとObject#eql?を使って比較を行います。
//emlist[例][ruby]{
[1, 1, 3, 5].intersection([3, 2, 1]) # => [1, 3]
["a", "b", "z"].intersection(["a", "b", "c"], ["b"]) # => ["b"]
["a"].intersection......# => ["a"]
//}
@see Set#intersection, Array#&... -
OpenSSL
:: Config # sections -> [String] (12201.0) -
オブジェクトに含まれる全てのセクション名の配列を返します。
オブジェクトに含まれる全てのセクション名の配列を返します。 -
RDoc
:: CodeObject # section=(val) (12201.0) -
所属する section を設定します。
...所属する section を設定します。
@param val RDoc::Context::Section オブジェクトを指定します。... -
Set
# intersect?(set) -> bool (12201.0) -
self と set の共通要素がある場合に true を返します。
...t の共通要素がある場合に true を返します。
@param self Set オブジェクトを指定します。
@raise ArgumentError 引数が Set オブジェクトでない場合に発生します。
require 'set'
p Set[1, 2, 3].intersect?(Set[3, 4]) # => true
p Set[1, 2, 3].intersect......?(Set[4, 5]) # => false
@see Set#intersection, Set#disjoint?......と set の共通要素がある場合に true を返します。
@param self Set オブジェクトを指定します。
@raise ArgumentError 引数が Set オブジェクトでない場合に発生します。
p Set[1, 2, 3].intersect?(Set[3, 4]) # => true
p Set[1, 2, 3].intersect?(Set[4, 5......]) # => false
@see Set#intersection, Set#disjoint?... -
Net
:: HTTP # continue _ timeout=(seconds) (9301.0) -
「100 Continue」レスポンスを待つ秒数を指定します。
...「100 Continue」レスポンスを待つ秒数を指定します。
この秒数待ってもレスポンスが来ない場合は
リクエストボディを送信します。
デフォルトは nil (待たない)です。
@param seconds 秒数
@see Net::HTTP#continue_timeout... -
Time
# tv _ sec -> Integer (9238.0) -
起算時からの経過秒数を整数で返します。
...起算時からの経過秒数を整数で返します。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p t # => 2000-01-02 03:04:05 +0900
p "%10.6f" % t.to_f # => "946749845.000006"
p t.to_i # => 946749845
p t.tv_sec # => 946749845
//}...