1219件ヒット
[101-200件を表示]
(0.076秒)
ライブラリ
- ビルトイン (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件
-
Array
# intersection(*other _ arrays) -> Array (6101.0) -
自身と引数に渡された配列の共通要素を新しい配列として返します。 要素が重複する場合は、そのうちの1つのみを返します。 要素の順序は自身の順序を維持します。
...合に発生します。
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#&... -
CGI
:: Cookie # secure -> bool (6101.0) -
自身がセキュアクッキーである場合は、真を返します。 そうでない場合は、偽を返します。
自身がセキュアクッキーである場合は、真を返します。
そうでない場合は、偽を返します。 -
CGI
:: Cookie # secure=(val) (6101.0) -
セキュアクッキーであるかどうかを変更します。
セキュアクッキーであるかどうかを変更します。
@param val 真を指定すると自身はセキュアクッキーになります。 -
OpenSSL
:: Config # sections -> [String] (6101.0) -
オブジェクトに含まれる全てのセクション名の配列を返します。
オブジェクトに含まれる全てのセクション名の配列を返します。 -
RDoc
:: CodeObject # section=(val) (6101.0) -
所属する section を設定します。
...所属する section を設定します。
@param val RDoc::Context::Section オブジェクトを指定します。... -
RDoc
:: Context # set _ current _ section(title , comment) -> () (6101.0) -
Handle sections
...Handle sections... -
Set
# intersect?(set) -> bool (6101.0) -
self と set の共通要素がある場合に true を返します。
...ram 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?......ます。
@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?... -
String
# casecmp(other) -> -1 | 0 | 1 | nil (6101.0) -
String#<=> と同様に文字列の順序を比較しますが、 アルファベットの大文字小文字の違いを無視します。
...BcDeF".casecmp("abcde") #=> 1
"aBcDeF".casecmp("abcdef") #=> 0
"aBcDeF".casecmp("abcdefg") #=> -1
"abcdef".casecmp("ABCDEF") #=> 0
//}
nil は文字列のエンコーディングが非互換の時に返されます。
//emlist[][ruby]{
"\u{e4 f6 fc}".encode("ISO-8859-1").casecmp("\u{c4......String#casecmp? と違って大文字小文字の違いを無視するのは
Unicode 全体ではなく、A-Z/a-z だけです。
@param other self と比較する文字列
//emlist[例][ruby]{
"aBcDeF".casecmp("abcde") #=> 1
"aBcDeF".casecmp("abcdef") #=> 0
"aBcDeF".casecmp("abcdefg")......#=> -1
"abcdef".casecmp("ABCDEF") #=> 0
//}
nil は文字列のエンコーディングが非互換の時に返されます。
//emlist[][ruby]{
"\u{e4 f6 fc}".encode("ISO-8859-1").casecmp("\u{c4 d6 dc}") #=> nil
//}
@see String#<=>, Encoding.compatible?... -
String
# casecmp?(other) -> bool | nil (6101.0) -
大文字小文字の違いを無視し文字列を比較します。 文字列が一致する場合には true を返し、一致しない場合には false を返します。
...self と比較する文字列
//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
//}
nil は文字列のエンコ......ーディングが非互換の時に返されます。
//emlist[][ruby]{
"\u{e4 f6 fc}".encode("ISO-8859-1").casecmp?("\u{c4 d6 dc}") #=> nil
//}
@see String#casecmp... -
Symbol
# casecmp(other) -> -1 | 0 | 1 | nil (6101.0) -
Symbol#<=> と同様にシンボルに対応する文字列の順序を比較しますが、 アルファベットの大文字小文字の違いを無視します。
...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?...