2701件ヒット
[1-100件を表示]
(0.241秒)
ライブラリ
- ビルトイン (1077)
- abbrev (11)
- bigdecimal (11)
-
cgi
/ core (66) -
cgi
/ session (33) -
cgi
/ session / pstore (11) - csv (22)
- dbm (22)
- drb (11)
- erb (14)
- forwardable (33)
- gdbm (33)
- ipaddr (11)
- json (143)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) - matrix (22)
-
minitest
/ unit (1) - mkmf (55)
-
net
/ http (66) -
net
/ imap (22) - open-uri (11)
- openssl (77)
- optparse (33)
- ostruct (54)
- pathname (11)
- pstore (55)
- rake (55)
-
rdoc
/ context (33) -
rdoc
/ text (11) -
rdoc
/ top _ level (11) -
rexml
/ document (66) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) -
rinda
/ rinda (44) -
rinda
/ tuplespace (55) -
rubygems
/ command (44) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ config _ file (22) -
rubygems
/ dependency _ list (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (33) -
rubygems
/ source _ info _ cache (55) - sdbm (11)
-
shell
/ command-processor (6) - sync (12)
- tsort (74)
-
webrick
/ cgi (11) -
webrick
/ httpresponse (22) -
webrick
/ server (11) - win32ole (11)
-
yaml
/ dbm (11)
クラス
- Array (72)
- BigDecimal (22)
- Bignum (3)
- CGI (22)
-
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) -
CSV
:: Table (22) - Complex (11)
- DBM (22)
-
DRb
:: DRbServer (11) - Data (4)
- Date (11)
- DateTime (11)
- ERB (14)
-
Encoding
:: Converter (44) -
Enumerator
:: ArithmeticSequence (6) - Exception (11)
- Float (11)
- GDBM (33)
-
Gem
:: Command (44) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: ConfigFile (22) -
Gem
:: DependencyList (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (33) -
Gem
:: SourceInfoCache (55) - Hash (467)
- IPAddr (11)
-
JSON
:: State (22) - MatchData (22)
- Matrix (11)
- Method (11)
-
MiniTest
:: Unit (1) - Module (5)
-
Net
:: IMAP (22) - Numeric (11)
- Object (22)
-
OpenSSL
:: Config (11) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: ExtensionFactory (33) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (65)
- OptionParser (22)
- PStore (55)
- Pathname (11)
- Proc (11)
-
RDoc
:: Context (33) -
RDoc
:: Options (11) -
RDoc
:: TopLevel (11) -
REXML
:: Attributes (11) -
REXML
:: DocType (11) -
REXML
:: Element (44) -
Rake
:: TaskArguments (55) - Range (22)
- Rational (22)
- Regexp (33)
-
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (44) -
Rinda
:: TupleSpaceProxy (44) -
RubyVM
:: InstructionSequence (11) - SDBM (11)
-
Shell
:: CommandProcessor (6) - String (220)
- Struct (31)
- Symbol (11)
- Time (22)
- UnboundMethod (22)
- Vector (11)
-
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPResponse (22) - WIN32OLE (11)
-
YAML
:: DBM (11)
モジュール
-
CGI
:: QueryExtension (44) - Enumerable (71)
- Forwardable (11)
-
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (33) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (55)
-
Net
:: HTTPHeader (66) -
OpenURI
:: Meta (11) -
OptionParser
:: Arguable (11) -
RDoc
:: Text (11) -
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11) - SingleForwardable (22)
-
Sync
_ m (12) - TSort (74)
キーワード
- % (11)
- [] (22)
- []= (22)
- abbrev (11)
-
add
_ attributes (11) -
add
_ class _ or _ module (22) -
add
_ element (11) -
add
_ specs (11) - assoc (11)
-
cache
_ data (11) - clone (11)
- collect (24)
- compact! (8)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - config (44)
- context (11)
- context= (11)
-
create
_ ext _ from _ hash (11) -
create
_ extension (22) -
deconstruct
_ keys (2) - default (22)
-
default
_ proc (11) - defaults (11)
- defaults= (11)
- delegate (11)
- delete (22)
-
delete
_ if (11) - difference (6)
- dig (36)
- dup (11)
- each (55)
-
each
_ key (11) -
each
_ pair (11) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
each
_ value (11) - encode (33)
- entities (11)
- eql? (33)
- fetch (66)
-
fetch
_ path (11) - files (11)
- filter (6)
- filter! (12)
-
find
_ gems (11) - flatten (11)
-
form
_ data= (11) - getopts (33)
-
group
_ by (22) - gsub (44)
- gsub! (44)
-
hash
_ old (11) - header (22)
- include? (11)
- index (7)
- inspect (22)
-
instance
_ delegate (11) - intersection (5)
- invert (44)
- invoke (11)
-
keep
_ if (11) - key (7)
-
kind
_ of? (11) -
latest
_ cache _ data (11) - length (11)
- map (24)
- modifiable (11)
-
named
_ captures (22) - namespaces (11)
- out (11)
- owner (11)
- params (11)
- params= (11)
-
primitive
_ convert (44) -
process
_ args (1) - rassoc (11)
- read (22)
-
read
_ all (22) -
read
_ cache _ data (11) - rehash (6)
- reject (22)
- reject! (22)
-
reset
_ cache _ for (11) - restore (44)
- result (7)
-
result
_ with _ hash (7) -
rm
_ f (11) -
rm
_ rf (11) - root? (11)
-
ruby2
_ keywords (5) - select (22)
- select! (22)
-
set
_ cache _ data (11) -
set
_ form _ data (11) -
set
_ params (11) - shift (11)
-
show
_ hash (11) -
single
_ delegate (11) - size (11)
-
spec
_ predecessors (11) -
start
_ element (11) - starttls (22)
-
strip
_ hashes (11) -
strongly
_ connected _ components (11) - sub (33)
- sub! (33)
-
sync
_ sh _ locker (6) -
sync
_ sh _ locker= (6) -
tag
_ start (11) - take (22)
- tally (8)
-
to
_ a (11) -
to
_ csv (11) -
to
_ h (51) -
to
_ hash (22) -
to
_ json (231) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ s (33) -
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) -
try
_ do (22) -
tsort
_ each (21) -
type
_ params (11) - union (6)
-
unmatched
_ alias _ lists (11) -
unmatched
_ alias _ lists= (11) - value (11)
-
with
_ defaults (11) - write (22)
- xsystem (11)
検索結果
先頭5件
-
Hash
# hash -> Integer (27214.0) -
自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。 自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
...自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。
自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
//emlist[例][ruby]{
a = {}
p a.hash #=> 0
a[1] = :x
p a.hash #=> 329543
//}... -
String
# hash -> Integer (21226.0) -
self のハッシュ値を返します。 eql? で等しい文字列は、常にハッシュ値も等しくなります。
...self のハッシュ値を返します。
eql? で等しい文字列は、常にハッシュ値も等しくなります。
//emlist[例][ruby]{
"test".hash # => 4038258770210371295
("te" + "st").hash == "test".hash # => true
//}
@see Hash... -
Range
# hash -> Integer (21214.0) -
始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
...始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
//emlist[例][ruby]{
p (1..2).hash # => 5646
p (1...2).hash # => 16782863
//}... -
UnboundMethod
# hash -> Integer (21214.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
//emlist[例][ruby]{
a = method(:==).unbind
b = method(:eql?).unbind
p a.eql? b # => true
p a.hash == b.hash # => true
p [a, b].uniq.size # => 1
//}... -
Rational
# hash -> Integer (21208.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
@return ハッシュ値を返します。
@see Object#hash... -
Gem
:: ConfigFile # hash -> Hash (21203.0) -
設定ファイルの各項目のキーと値を要素として持つハッシュです。
設定ファイルの各項目のキーと値を要素として持つハッシュです。 -
Bignum
# hash -> Integer (21202.0) -
self のハッシュ値を返します。
self のハッシュ値を返します。 -
Enumerator
:: ArithmeticSequence # hash -> Integer (21202.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。... -
OpenStruct
# hash -> Integer (21202.0) -
self のハッシュ値を返します。
self のハッシュ値を返します。 -
Pathname
# hash -> Integer (21202.0) -
ハッシュ値を返します。
ハッシュ値を返します。 -
Object
# hash -> Integer (18296.0) -
オブジェクトのハッシュ値を返します。このハッシュ値は、Object#eql? と合わせて Hash クラスで、2つのオブジェクトを同一のキーとするか判定するために用いられます。
...オブジェクトのハッシュ値を返します。このハッシュ値は、Object#eql? と合わせて Hash クラスで、2つのオブジェクトを同一のキーとするか判定するために用いられます。
2つのオブジェクトのハッシュ値が異なるとき、直ち......eql?(B) ならば A.hash == B.hash
の関係が満たされている必要があります。
ただし、ハッシュのキーとして Integer, Symbol, String などの特定の組み込みクラスが使われるときは、組込みのハッシュ関数が使用され、hash メソッドは呼......ます。
@return ハッシュ値を返します。Ruby 内部の固定長整数 fixnum に収まらない場合は切り捨てられます。
//emlist[][ruby]{
p self.hash #=> 2013505522753096494
p 0.hash #=> 2647535320520409998
p 0.0.hash #=> -2975129765814025835
p nil.hash #=> 240153142035...