2953件ヒット
[1-100件を表示]
(0.257秒)
ライブラリ
- ビルトイン (2134)
- bigdecimal (36)
-
cgi
/ core (12) - csv (48)
- date (12)
- dbm (12)
- delegate (12)
- digest (12)
- drb (24)
- fiddle (24)
- gdbm (12)
- matrix (120)
-
net
/ ftp (10) - openssl (96)
- ostruct (12)
- pathname (48)
- prime (24)
- rake (24)
-
rdoc
/ context (12) -
rexml
/ document (60) -
rinda
/ rinda (12) -
rubygems
/ package / tar _ header (12) -
rubygems
/ platform (24) -
rubygems
/ requirement (36) -
rubygems
/ version (12) - sdbm (24)
- set (5)
- socket (60)
- strscan (12)
- win32ole (12)
クラス
-
ARGF
. class (72) - Addrinfo (48)
- Array (337)
- BasicObject (48)
- BasicSocket (12)
- BigDecimal (36)
- Bignum (9)
- CGI (12)
-
CSV
:: Row (24) -
CSV
:: Table (24) - Complex (12)
- DBM (12)
-
DRb
:: DRbObject (24) - Data (6)
- Date (12)
- Delegator (12)
-
Digest
:: Base (12) -
Enumerator
:: ArithmeticSequence (7) -
Enumerator
:: Lazy (129) - Exception (24)
- FalseClass (36)
-
Fiddle
:: Pointer (24) - Fixnum (3)
- Float (36)
- GDBM (12)
-
Gem
:: Package :: TarHeader (12) -
Gem
:: Platform (24) -
Gem
:: Requirement (36) -
Gem
:: Version (12) - Hash (88)
- Integer (40)
- KeyError (8)
- MatchData (24)
- Matrix (96)
- Method (68)
-
Net
:: FTP :: MLSxEntry (10) - Numeric (72)
- Object (60)
-
OpenSSL
:: BN (36) -
OpenSSL
:: PKey :: EC :: Group (24) -
OpenSSL
:: PKey :: EC :: Point (24) -
OpenSSL
:: SSL :: Session (12) - OpenStruct (12)
- Pathname (48)
- Prime (24)
- Proc (12)
-
Process
:: Status (12) -
RDoc
:: Context :: Section (12) -
REXML
:: Attribute (12) -
REXML
:: Comment (12) -
REXML
:: Element (12) -
REXML
:: Instruction (12) -
REXML
:: XMLDecl (12) -
Rake
:: FileList (12) - Random (12)
- Range (116)
- Rational (12)
- Regexp (36)
-
Rinda
:: DRbObjectTemplate (12) -
RubyVM
:: InstructionSequence (24) - SDBM (24)
- Set (8)
- String (314)
- StringScanner (12)
- Struct (24)
- Symbol (36)
- Thread (12)
- TrueClass (36)
- UnboundMethod (36)
- Vector (24)
-
WIN32OLE
_ TYPE (12)
モジュール
- Comparable (12)
- Enumerable (358)
-
Rake
:: Cloneable (12)
キーワード
- != (12)
- % (12)
- & (24)
- +@ (10)
- -@ (10)
- === (155)
- =~ (12)
- [] (80)
- ^ (24)
-
_ _ id _ _ (12) - afamily (12)
- allbits? (8)
-
backtrace
_ locations (12) - call (16)
- chunk (24)
-
chunk
_ while (12) - clone (24)
- collect (12)
- count (72)
- crypt (12)
- dedup (3)
-
default
_ event _ sources (12) - delete (24)
-
delete
_ if (48) - detect (24)
- disasm (12)
- disassemble (12)
- div (12)
- divmod (24)
- downcase (9)
- dump (12)
- each (60)
-
each
_ line (36) - eigen (12)
- eigensystem (12)
- eql? (234)
- equal? (12)
- file? (10)
- filter (14)
- filter! (14)
- find (24)
-
find
_ all (24) -
find
_ index (72) - getpeername (12)
- group (12)
- hash (48)
- header (12)
- id2name (12)
- index (36)
- intern (12)
- join (12)
-
keep
_ if (19) - key (8)
- lazy (24)
- lup (12)
-
lup
_ decomposition (12) - map (12)
- max (88)
- member? (8)
- min (88)
- minmax (12)
- modulo (12)
- nobits? (8)
- none? (15)
- one? (45)
- pack (21)
- partition (24)
- pfamily (12)
- protocol (12)
- rect (12)
- rectangular (12)
- reject (48)
- reject! (36)
- remainder (12)
- rindex (36)
-
root
_ node (12) -
satisfied
_ by? (12) - select (60)
- select! (19)
- slice (72)
-
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - socktype (12)
- sort (24)
- split (19)
- string (12)
- sum (12)
-
to
_ proc (12) -
to
_ s (12) -
to
_ sym (12) -
unicode
_ normalize! (11) - unpack (12)
- | (24)
検索結果
先頭5件
-
DRb
:: DRbObject # ==(other) -> bool (27301.0) -
DRb::DRbObject オブジェクト同士が同じであるなら真を返します。
...DRb::DRbObject オブジェクト同士が同じであるなら真を返します。
この同値判定は、
オブジェクトが参照している URI と識別子が等しいかどうかでします。... -
Rational
# ==(other) -> bool (24331.0) -
数値として等しいか判定します。
...@param other 自身と比較する数値
@return self と other が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
Rational(2, 3) == Rational(2, 3) # => true
Rational(5) == 5 # => true
Rational(0)......== 0.0 # => true
Rational('1/3') == 0.33 # => false
Rational('1/2') == '1/2' # => false
//}... -
String
# ==(other) -> bool (24325.0) -
other が文字列の場合、String#eql? と同様に文字列の内容を比較します。
...other が文字列の場合、String#eql? と同様に文字列の内容を比較します。
other が文字列でない場合、
other.to_str が定義されていれば
other == self の結果を返します。(ただし、 other.to_str は実行されません。)
そうでなければ false......ram other 任意のオブジェクト
@return true か false
//emlist[例][ruby]{
stringlike = Object.new
def stringlike.==(other)
"string" == other
end
p "string".eql?(stringlike) #=> false
p "string" == stringlike #=> false
def stringlike.to_str
raise
end
p "string".eql?(str......inglike) #=> false
p "string" == stringlike #=> true
//}
@see String#eql?... -
Struct
# ==(other) -> bool (24323.0) -
self と other のクラスが同じであり、各メンバが == メソッドで比較して等しい場合に true を返します。そうでない場合に false を返します。
...f と other のクラスが同じであり、各メンバが == メソッドで比較して等しい場合に
true を返します。そうでない場合に false を返します。
@param other self と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
Dog = Struct.new(:......red", 5)
dog2 = Dog.new("fred", 5)
p dog1 == dog2 #=> true
p dog1.eql?(dog2) #=> true
p dog1.equal?(dog2) #=> false
//}
[注意] 本メソッドの記述は Struct の下位クラスのインスタンスに対して呼び
出す事を想定しています。Str......uct.new は Struct の下位クラスを作成する点に
注意してください。
@see Struct#eql?... -
Fiddle
:: Pointer # ==(other) -> bool (24313.0) -
ポインタの指すアドレスが同一ならばtrueを返します。
...タの指すアドレスが同一ならばtrueを返します。
@param other 比較対象の Pointer オブジェクト
例:
require 'fiddle'
s = 'abc'
cptr = Fiddle::Pointer[s]
cptr0 = Fiddle::Pointer[s]
cptr1 = cptr + 1
p cptr == cptr1 #=> false
p cptr == cptr0 #=> true... -
Integer
# ==(other) -> bool (24313.0) -
比較演算子。数値として等しいか判定します。
...比較演算子。数値として等しいか判定します。
@param other 比較対象の数値
@return self と other が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 == 2 # => false
1 == 1.0 # => true
//}... -
Enumerator
:: ArithmeticSequence # ==(other) -> bool (24301.0) -
Enumerable::ArithmeticSequence として等しいか判定します。
...Enumerable::ArithmeticSequence として等しいか判定します。
other が Enumerable::ArithmeticSequence で
begin, end, step, exclude_end? が等しい時に
true を返します。
@param other 自身と比較する Enumerable::ArithmeticSequence... -
Gem
:: Package :: TarHeader # ==(other) -> bool (24301.0) -
自身と other が等しければ真を返します。 そうでない場合は偽を返します。
...自身と other が等しければ真を返します。
そうでない場合は偽を返します。
@param other 比較対象のオブジェクトを指定します。... -
Gem
:: Platform # ==(other) -> bool (24301.0) -
自身と other が同じプラットフォームである場合に真を返します。 そうでない場合は偽を返します。
...と other が同じプラットフォームである場合に真を返します。
そうでない場合は偽を返します。
同じプラットフォームであるとは、二つのプラットフォームの
CPU, OS, バージョンが同じであるということです。
@param other 比...