1219件ヒット
[201-300件を表示]
(0.075秒)
ライブラリ
- ビルトイン (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)
-
CGI
:: Cookie (24) - 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)
-
WEBrick
:: Cookie (24)
モジュール
-
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)
- secure (24)
- secure= (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件
-
Symbol
# casecmp(other) -> -1 | 0 | 1 | nil (6101.0) -
Symbol#<=> と同様にシンボルに対応する文字列の順序を比較しますが、 アルファベットの大文字小文字の違いを無視します。
...較対象のシンボルを指定します。
//emlist[][ruby]{
:aBcDeF.casecmp(:abcde) #=> 1
:aBcDeF.casecmp(:abcdef) #=> 0
:aBcDeF.casecmp(:abcdefg) #=> -1
:abcdef.casecmp(:ABCDEF) #=> 0
:"\u{e4 f6 fc}".casecmp(:"\u{c4 d6 dc}") #=> 1
//}
other がシンボルではない場合や、......文字列のエンコーディングが非互換の場合は、nil を返します。
//emlist[][ruby]{
:foo.casecmp("foo") #=> nil
"\u{e4 f6 fc}".encode("ISO-8859-1").to_sym.casecmp(:"\u{c4 d6 dc}") #=> nil
//}
@see String#casecmp, Symbol#<=>, Symbol#casecmp?......ymbol#casecmp? と違って大文字小文字の違いを無視するのは
Unicode 全体ではなく、A-Z/a-z だけです。
@param other 比較対象のシンボルを指定します。
//emlist[][ruby]{
:aBcDeF.casecmp(:abcde) #=> 1
:aBcDeF.casecmp(:abcdef) #=> 0
:aBcDeF.casecmp(:abcd......efg) #=> -1
:abcdef.casecmp(:ABCDEF) #=> 0
:"\u{e4 f6 fc}".casecmp(:"\u{c4 d6 dc}") #=> 1
//}
other がシンボルではない場合や、文字列のエンコーディングが非互換の場合は、nil を返します。
//emlist[][ruby]{
:foo.casecmp("foo") #=> nil
"\u{e4 f6 fc}".encod......e("ISO-8859-1").to_sym.casecmp(:"\u{c4 d6 dc}") #=> nil
//}
@see String#casecmp, Symbol#<=>, Symbol#casecmp?... -
Symbol
# casecmp?(other) -> bool | nil (6101.0) -
大文字小文字の違いを無視しシンボルを比較します。 シンボルが一致する場合には true を返し、一致しない場合には false を返します。
...のシンボルを指定します。
//emlist[][ruby]{
:abcdef.casecmp?(:abcde) #=> false
:aBcDeF.casecmp?(:abcdef) #=> true
:abcdef.casecmp?(:abcdefg) #=> false
:abcdef.casecmp?(:ABCDEF) #=> true
:"\u{e4 f6 fc}".casecmp?(:"\u{c4 d6 dc}") #=> true
//}
other がシンボルではない......場合や、文字列のエンコーディングが非互換の場合は、nil を返します。
//emlist[][ruby]{
:foo.casecmp?("foo") #=> nil
"\u{e4 f6 fc}".encode("ISO-8859-1").to_sym.casecmp?(:"\u{c4 d6 dc}") #=> nil
//}
@see String#casecmp?, Symbol#casecmp... -
Time
# nsec -> Integer (6101.0) -
時刻のナノ秒の部分を整数で返します。
...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
# subsec -> Integer | Rational (6101.0) -
時刻を表す分数を返します。
...=> "946749845.000005960"
p t.subsec #=> (3/500000)
//}
to_f の値と subsec の値の下のほうの桁の値は異なる場合があります。
というのは IEEE 754 double はそれを表すのに十分な精度を
持たないからです。subsec で得られる値が正確で... -
Time
# tv _ nsec -> Integer (6101.0) -
時刻のナノ秒の部分を整数で返します。
...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 (6101.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
//}... -
Time
# usec -> Integer (6101.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
//}... -
WEBrick
:: Cookie # secure -> bool (6101.0) -
クッキーのSecure属性を真偽値で表すアクセサです。
...クッキーのSecure属性を真偽値で表すアクセサです。
@param value クッキーのSecure属性を真偽値で指定します。... -
WEBrick
:: Cookie # secure=(value) (6101.0) -
クッキーのSecure属性を真偽値で表すアクセサです。
...クッキーのSecure属性を真偽値で表すアクセサです。
@param value クッキーのSecure属性を真偽値で指定します。...