3368件ヒット
[1-100件を表示]
(0.115秒)
種類
ライブラリ
- English (11)
- ビルトイン (2230)
- bigdecimal (44)
-
cgi
/ core (22) - coverage (6)
- csv (55)
- date (11)
- dbm (11)
- delegate (11)
- digest (22)
- drb (22)
- fiddle (33)
- find (11)
- gdbm (11)
- ipaddr (33)
- matrix (110)
-
net
/ ftp (9) - nkf (11)
- objspace (11)
- openssl (132)
- ostruct (11)
- pathname (33)
- prime (22)
- rake (33)
-
rdoc
/ context (11) - readline (11)
-
rexml
/ document (55) -
rinda
/ rinda (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ platform (22) -
rubygems
/ requirement (33) -
rubygems
/ version (22) - sdbm (33)
- set (32)
- socket (33)
- thread (2)
- uri (11)
-
webrick
/ httpauth (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)
- Coverage (6)
- DBM (11)
-
DRb
:: DRbObject (22) - Data (8)
- Date (11)
- Delegator (11)
-
Digest
:: Base (22) - Enumerator (16)
-
Enumerator
:: ArithmeticSequence (6) -
Enumerator
:: Lazy (118) - Exception (22)
- FalseClass (33)
-
Fiddle
:: Function (11) -
Fiddle
:: Pointer (22) - File (22)
- Fixnum (3)
- Float (33)
- GDBM (11)
-
Gem
:: Package :: TarHeader (11) -
Gem
:: Platform (22) -
Gem
:: Requirement (33) -
Gem
:: Version (22) - Hash (156)
- IPAddr (33)
- Integer (36)
- MatchData (22)
- Matrix (88)
- Method (36)
- Module (11)
-
Net
:: FTP :: MLSxEntry (9) - Numeric (22)
- Object (66)
-
OpenSSL
:: BN (55) -
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 (22) - Random (35)
- Range (76)
- Rational (11)
- Regexp (33)
-
Rinda
:: DRbObjectTemplate (11) -
RubyVM
:: InstructionSequence (22) - SDBM (33)
- Set (32)
- String (212)
- Struct (22)
- Symbol (33)
- SystemCallError (11)
- Thread (11)
- Time (22)
- TrueClass (33)
-
URI
:: Generic (11) - UnboundMethod (33)
- Vector (22)
- WIN32OLE (11)
-
WIN32OLE
_ TYPE (11) -
Zlib
:: GzipReader (11)
モジュール
- Comparable (11)
- Enumerable (422)
- Find (11)
- GC (22)
- Kernel (11)
- Math (22)
- ObjectSpace (11)
- Process (11)
-
Rake
:: Cloneable (11) - Readline (11)
-
WEBrick
:: HTTPAuth (11)
オブジェクト
- ENV (88)
キーワード
- != (11)
-
$ CHILD _ STATUS (11) - & (22)
- +@ (9)
- -@ (9)
- === (186)
- =~ (11)
- ConditionVariable (11)
- DEFAULT (2)
- DH (11)
- Lazy (11)
- Marshal フォーマット (11)
- NKF (11)
- OCSP (11)
- Requirement (11)
- Ruby用語集 (11)
- Symbol (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (44)
- ^ (22)
- acos (11)
- afamily (11)
- allbits? (7)
- asin (11)
- assoc (22)
-
backtrace
_ locations (11) -
basic
_ auth (11) - bigdecimal (11)
- call (25)
- chunk (22)
-
chunk
_ while (11) - clone (33)
- collect (11)
- count (33)
- crypt (11)
- dedup (2)
-
default
_ event _ sources (11) - define (4)
- delete (22)
-
delete
_ if (88) - detect (22)
- disassemble (22)
- divmod (11)
- dup (11)
- each (77)
-
each
_ key (11) -
each
_ line (44) -
each
_ pair (11) - eigen (11)
- eigensystem (11)
- empty (11)
- eql? (214)
- equal? (11)
- fiddle (11)
-
fiddle
/ types (11) - file? (9)
- filter (12)
- filter! (12)
- find (33)
-
find
_ all (22) -
find
_ index (55) -
generate
_ prime (11) - getlocal (22)
- getrlimit (11)
-
has
_ value? (11) - header (11)
- id2name (11)
- include? (45)
- index (22)
- intern (11)
- itself (11)
-
keep
_ if (17) -
latest
_ gc _ info (22) - lazy (22)
-
line
_ stub (6) - lineno= (11)
-
local
_ variable _ defined? (11) - lstat (22)
- lup (11)
-
lup
_ decomposition (11) - map (11)
-
marshal
_ dump (11) -
marshal
_ load (11) - max (82)
- member? (23)
-
memsize
_ of _ all (11) - min (82)
-
mod
_ inverse (11) - modulo (11)
- new (22)
- nobits? (7)
- none? (47)
-
ole
_ func _ methods (11) - one? (47)
- out (11)
- pack (19)
- pack テンプレート文字列 (11)
- partition (22)
-
pending
_ interrupt? (11) - pfamily (11)
- produce (5)
- protocol (11)
- rassoc (22)
-
rb
_ equal (11) -
rb
_ f _ require (11) - readline (11)
- rectangular (11)
- reject (33)
- reject! (55)
- rindex (22)
-
root
_ node (11) -
ruby 1
. 8 . 2 feature (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)
- yaml (11)
- yield (11)
- | (22)
- 制御構造 (11)
検索結果
先頭5件
-
OpenSSL
:: SSL :: Session # ==(other) -> bool (24200.0) -
otherと自身が同一のセッションであれば真を返します。
otherと自身が同一のセッションであれば真を返します。 -
Float
# ==(other) -> bool (21230.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 (21230.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 (21218.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 (21212.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 (21212.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が 0 を返した時に、true を返します。 それ以外を返した場合は、false を返します。
...ジェクト同士を比較します。
<=> が 0 を返した時に、true を返します。
それ以外を返した場合は、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
1 == 1 # => true
1 == 2 # => false
//}... -
Fiddle
:: Pointer # ==(other) -> bool (21212.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 (21212.0) -
other が同じシンボルの時に真を返します。 そうでない場合は偽を返します。
...other が同じシンボルの時に真を返します。
そうでない場合は偽を返します。
@param other 比較対象のシンボルを指定します。
例:
:aaa == :aaa #=> true
:aaa == :xxx #=> false... -
BigDecimal
# ==(other) -> bool (21206.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 (21206.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
//}...