2845件ヒット
[1-100件を表示]
(0.170秒)
ライブラリ
- ビルトイン (1990)
- bigdecimal (44)
-
cgi
/ core (22) - csv (55)
- date (11)
- dbm (11)
- delegate (11)
- digest (22)
- drb (22)
- fiddle (22)
- gdbm (11)
- ipaddr (33)
- matrix (99)
-
net
/ ftp (9) - openssl (99)
- ostruct (11)
- pathname (33)
- prime (22)
- rake (22)
-
rdoc
/ context (11) -
rexml
/ document (55) -
rinda
/ rinda (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ platform (22) -
rubygems
/ requirement (33) -
rubygems
/ version (11) - sdbm (33)
- set (32)
- socket (33)
- uri (11)
- win32ole (22)
- zlib (11)
クラス
-
ARGF
. class (88) - Addrinfo (33)
- Array (263)
- BasicObject (33)
- BigDecimal (44)
- Bignum (9)
- Binding (11)
- CGI (22)
-
CSV
:: Row (22) -
CSV
:: Table (33) - Complex (11)
- DBM (11)
-
DRb
:: DRbObject (22) - Data (4)
- Date (11)
- Delegator (11)
-
Digest
:: Base (22) -
Enumerator
:: ArithmeticSequence (6) -
Enumerator
:: Lazy (118) - Exception (22)
- FalseClass (33)
-
Fiddle
:: Pointer (22) - File (11)
- Fixnum (3)
- Float (33)
- GDBM (11)
-
Gem
:: Package :: TarHeader (11) -
Gem
:: Platform (22) -
Gem
:: Requirement (33) -
Gem
:: Version (11) - Hash (156)
- IPAddr (33)
- Integer (36)
- MatchData (22)
- Matrix (77)
- Method (36)
- Module (11)
-
Net
:: FTP :: MLSxEntry (9) - Numeric (22)
- Object (66)
-
OpenSSL
:: BN (44) -
OpenSSL
:: PKey :: EC :: Group (22) -
OpenSSL
:: PKey :: EC :: Point (22) -
OpenSSL
:: SSL :: Session (11) - OpenStruct (11)
- Pathname (33)
- Prime (22)
- Proc (33)
-
Process
:: Status (11) -
RDoc
:: Context :: Section (11) -
REXML
:: Attribute (11) -
REXML
:: Comment (11) -
REXML
:: Element (11) -
REXML
:: Instruction (11) -
REXML
:: XMLDecl (11) -
Rake
:: FileList (11) - Random (33)
- Range (76)
- Rational (11)
- Regexp (33)
-
Rinda
:: DRbObjectTemplate (11) -
RubyVM
:: InstructionSequence (11) - SDBM (33)
- Set (32)
- String (212)
- Struct (22)
- Symbol (33)
- Time (22)
- TrueClass (33)
-
URI
:: Generic (11) - UnboundMethod (33)
- Vector (22)
- WIN32OLE (11)
-
WIN32OLE
_ TYPE (11) -
Zlib
:: GzipReader (11)
モジュール
- Comparable (11)
- Enumerable (422)
-
Rake
:: Cloneable (11)
キーワード
- != (11)
- & (22)
- +@ (9)
- -@ (9)
- === (175)
- =~ (11)
- [] (33)
- ^ (22)
- afamily (11)
- allbits? (7)
- assoc (22)
-
backtrace
_ locations (11) - call (25)
- chunk (22)
-
chunk
_ while (11) - clone (33)
- collect (11)
- count (33)
- crypt (11)
- dedup (2)
-
default
_ event _ sources (11) - delete (22)
-
delete
_ if (66) - detect (22)
- disassemble (11)
- divmod (11)
- dup (11)
- each (66)
-
each
_ line (44) - eigen (11)
- eigensystem (11)
- eql? (214)
- equal? (11)
- file? (9)
- filter (12)
- filter! (12)
- find (22)
-
find
_ all (22) -
find
_ index (55) - getlocal (22)
-
has
_ value? (11) - header (11)
- id2name (11)
- include? (45)
- index (22)
- intern (11)
- itself (11)
-
keep
_ if (17) - lazy (22)
- lineno= (11)
-
local
_ variable _ defined? (11) - lstat (11)
- lup (11)
-
lup
_ decomposition (11) - map (11)
-
marshal
_ dump (11) -
marshal
_ load (11) - max (82)
- member? (23)
- min (82)
-
mod
_ inverse (11) - modulo (11)
- nobits? (7)
- none? (47)
-
ole
_ func _ methods (11) - one? (47)
- out (11)
- pack (19)
- partition (22)
- pfamily (11)
- protocol (11)
- rassoc (22)
- rectangular (11)
- reject (22)
- reject! (33)
- rindex (22)
-
root
_ node (11) -
satisfied
_ by? (11) - select (55)
- select! (22)
- sign (11)
- slice (66)
-
slice
_ after (20) -
slice
_ before (33) -
slice
_ when (10) - sort (22)
- split (17)
-
to
_ h (17) -
to
_ hash (11) -
to
_ proc (11) -
to
_ s (11) -
to
_ sym (11) -
unicode
_ normalize! (10) - unpack (11)
- value? (11)
- yield (11)
- | (22)
検索結果
先頭5件
-
OpenSSL
:: SSL :: Session # ==(other) -> bool (24201.0) -
otherと自身が同一のセッションであれば真を返します。
otherと自身が同一のセッションであれば真を返します。 -
Float
# ==(other) -> bool (21231.0) -
比較演算子。数値として等しいか判定します。
...urn self と other が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 == 3.14000 # => true
3.14 == 3.1415 # => false
//}
NaNどうしの比較は、未定義です。
//emlist[例][ruby]{
Float::NAN == Float::NAN......# => false
[Float::NAN] == [Float::NAN] # => true
[Float::NAN] == [0.0 / 0.0] # => false
//}... -
Rational
# ==(other) -> bool (21231.0) -
数値として等しいか判定します。
...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
//}... -
Complex
# ==(other) -> bool (21219.0) -
数値として等しいか判定します。
...数値として等しいか判定します。
@param other 自身と比較する数値
//emlist[例][ruby]{
Complex(2, 1) == Complex(1) # => false
Complex(1, 0) == Complex(1) # => true
Complex(1, 0) == 1 # => true
//}... -
CSV
:: Table # ==(other) -> bool (21213.0) -
自身の全ての行が比較対象と同じである場合は真を返します。 そうでない場合は偽を返します。
...行が比較対象と同じである場合は真を返します。
そうでない場合は偽を返します。
@param other CSV::Table を指定します。
//emlist[例][ruby]{
require "csv"
row1_1 = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row1_2 = CSV::Row.new(["header1", "......ow1_1", "row1_2"])
row2_2 = CSV::Row.new(["header1", "header2"], ["row2_1", "row2_2"])
table1 = CSV::Table.new([row1_1, row1_2])
table2 = CSV::Table.new([row2_1, row2_2])
table1 == table2 # => true
table2 << CSV::Row.new(["header1", "header2"], ["row3_1", "row3_2"])
table1 == table2 # => false
//}... -
Comparable
# ==(other) -> bool (21213.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が 0 を返した時に、true を返します。 それ以外を返した場合は、false を返します。
...ジェクト同士を比較します。
<=> が 0 を返した時に、true を返します。
それ以外を返した場合は、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
1 == 1 # => true
1 == 2 # => false
//}... -
Fiddle
:: Pointer # ==(other) -> bool (21213.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... -
Symbol
# ==(other) -> true | false (21213.0) -
other が同じシンボルの時に真を返します。 そうでない場合は偽を返します。
...other が同じシンボルの時に真を返します。
そうでない場合は偽を返します。
@param other 比較対象のシンボルを指定します。
例:
:aaa == :aaa #=> true
:aaa == :xxx #=> false... -
BigDecimal
# ==(other) -> bool (21207.0) -
self が other と等しい場合に true を、そうでない場合に false を返します。
...self が other と等しい場合に true を、そうでない場合に false を返します。
それぞれの値は BigDecimal#coerce で変換して比較される場合があります。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}... -
Rake
:: FileList # ==(array) -> bool (21207.0) -
自身を配列に変換してから与えられた配列と比較します。
...列と比較します。
@param array 比較対象の配列を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
file_list == file_list.to_a # => true
end
//}...