別のキーワード
種類
ライブラリ
- ビルトイン (1112)
- bigdecimal (12)
-
cgi
/ core (108) -
cgi
/ session (36) -
cgi
/ session / pstore (12) -
cgi
/ util (12) - coverage (24)
- csv (60)
- dbm (12)
-
digest
/ sha1 (12) -
digest
/ sha2 (36) - drb (36)
-
drb
/ extservm (24) -
drb
/ gw (12) - erb (16)
- etc (12)
- forwardable (48)
- gdbm (84)
- ipaddr (12)
- json (216)
-
json
/ add / bigdecimal (24) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (24) -
json
/ add / rational (12) -
json
/ add / regexp (24) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - matrix (24)
-
minitest
/ unit (1) - mkmf (12)
-
net
/ http (36) -
net
/ imap (24) - open-uri (12)
- openssl (24)
- optparse (60)
- ostruct (22)
- pathname (12)
- psych (7)
- rake (60)
- rbconfig (36)
-
rbconfig
/ sizeof (24) -
rdoc
/ context (24) -
rdoc
/ markdown / entities (12) -
rdoc
/ text (12) -
rdoc
/ top _ level (12) -
rexml
/ document (48) -
rexml
/ streamlistener (12) - rubygems (36)
-
rubygems
/ command (60) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ config _ file (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ dependency _ list (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ requirement (12) -
rubygems
/ security (36) -
rubygems
/ source _ index (36) -
rubygems
/ source _ info _ cache (72) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (24) -
syslog
/ logger (12) - tsort (58)
- uri (84)
-
webrick
/ accesslog (12) -
webrick
/ cgi (12) -
webrick
/ config (36) -
webrick
/ httpauth / htdigest (12) -
webrick
/ httpresponse (12) -
webrick
/ https (12) -
webrick
/ server (12) -
webrick
/ ssl (24) - win32ole (12)
-
yaml
/ dbm (12)
クラス
- Array (22)
- BigDecimal (36)
- Bignum (3)
- CGI (72)
-
CGI
:: Cookie (12) -
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (24)
-
CSV
:: Row (12) -
CSV
:: Table (24) - Complex (12)
- Coverage (24)
- DBM (12)
-
DRb
:: DRbServer (24) -
DRb
:: ExtServManager (24) - Data (3)
- Date (12)
- DateTime (12)
- ERB (16)
- Encoding (12)
-
Encoding
:: Converter (48) -
Enumerator
:: ArithmeticSequence (7) - Exception (12)
- Float (12)
- GDBM (72)
-
Gem
:: Command (60) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: ConfigFile (24) -
Gem
:: DependencyInstaller (12) -
Gem
:: DependencyList (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Requirement (12) -
Gem
:: SourceIndex (36) -
Gem
:: SourceInfoCache (72) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (24) - Hash (228)
- IO (96)
- IPAddr (12)
- MatchData (12)
- Matrix (12)
- Method (12)
-
MiniTest
:: Unit (1) -
Net
:: IMAP (24) - Object (12)
-
OpenSSL
:: Config (12) -
OpenSSL
:: X509 :: Name (12) - OpenStruct (34)
- OptionParser (48)
- Pathname (12)
- Proc (12)
-
RDoc
:: Context (24) -
RDoc
:: Markdown (12) -
RDoc
:: TopLevel (12) -
REXML
:: Attributes (12) -
REXML
:: DocType (24) -
REXML
:: Element (12) -
Rake
:: TaskArguments (60) - Range (36)
- Rational (24)
- Regexp (48)
- String (240)
- Struct (38)
- Symbol (12)
-
Syslog
:: Logger (12) - Time (24)
-
URI
:: Generic (48) - UnboundMethod (12)
- Vector (12)
-
WEBrick
:: CGI (12) -
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPResponse (12) - WIN32OLE (12)
-
YAML
:: DBM (12)
モジュール
-
CGI
:: QueryExtension (48) - DRb (12)
- Enumerable (43)
- Etc (12)
- Forwardable (24)
- GC (60)
-
GC
:: Profiler (12) - Gem (12)
-
Gem
:: QuickLoader (24) -
Gem
:: Security (36) - JSON (48)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (36) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (144)
- Marshal (12)
-
Net
:: HTTPHeader (36) - OpenURI (12)
-
OptionParser
:: Arguable (12) - Psych (7)
-
RDoc
:: Text (12) -
REXML
:: StreamListener (12) - RbConfig (60)
- Signal (12)
- SingleForwardable (24)
- TSort (58)
- URI (24)
-
WEBrick
:: AccessLog (12) -
WEBrick
:: Config (72)
オブジェクト
- ENV (24)
キーワード
- % (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (12)
- BasicAuth (12)
- CONFIG (24)
- ConfigMap (12)
-
DEFAULT
_ ENTITIES (12) -
DEFAULT
_ OPTIONS (12) - DigestAuth (12)
- FileHandler (12)
- GDBM (12)
- GW (12)
- GemPaths (12)
- GemVersions (12)
- General (12)
- Generic (12)
-
HTML
_ ENTITIES (12) - HTTP (12)
-
HTTP
_ STATUS (12) - Hash (36)
-
LEVEL
_ MAP (12) - LIMITS (12)
-
MAKEFILE
_ CONFIG (12) -
MARSHAL
_ FIELDS (12) - Marshal フォーマット (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - OPS (12)
- OPT (12)
-
PATH
_ SEPARATOR (12) - Policies (12)
- Ruby用語集 (12)
- SHA1 (12)
- SHA256 (12)
- SHA384 (12)
- SHA512 (12)
- SIZEOF (12)
-
SPECIFICATION
_ VERSION _ HISTORY (12) - SSL (12)
-
TABLE
_ FOR _ ESCAPE _ HTML _ _ (12) - [] (25)
- []= (12)
-
add
_ class _ or _ module (24) -
add
_ specs (12) - aliases (12)
- build (24)
- build2 (24)
-
build
_ self _ signed _ cert (12) -
cache
_ data (24) - cgi (12)
-
cgi
/ session (12) - command (12)
- command= (12)
- compact (6)
- config (48)
-
decode
_ www _ form (12) - defaults (12)
- defaults= (12)
- delegate (24)
- dig (40)
-
digest
/ sha1 (12) -
digest
/ sha2 (12) - dump (12)
- each (60)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - encode (36)
-
encode
_ www _ form (12) - entities (12)
- eql? (12)
- exec (24)
- fetch (60)
-
fetch
_ path (12) - files (12)
- filter! (14)
-
find
_ gems (12) - format (12)
- generate (24)
-
generate
_ line (12) - getopts (60)
-
group
_ by (24) - gsub (48)
- gsub! (48)
-
hash
_ old (12) - header (12)
- inspect (36)
-
instance
_ delegate (12) - invert (12)
- invoke (12)
-
json
_ create (48) -
keep
_ if (24) -
latest
_ cache _ data (12) -
latest
_ gc _ info (24) -
latest
_ specs (12) - length (12)
- list (12)
- merge (24)
- merge! (24)
-
named
_ captures (12) - namespaces (12)
- new (27)
- numhash (12)
-
open
_ uri (12) - out (12)
- params (12)
- params= (12)
- parse (24)
-
peek
_ result (12) - popen (96)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
primitive
_ convert (48) -
process
_ args (1) -
raw
_ data (12) -
rb
_ f _ hash (12) -
read
_ cache _ data (12) - rehash (12)
- reject (24)
- replace (12)
-
reset
_ cache _ for (12) - restore (48)
- result (20)
-
result
_ with _ hash (8) -
rexml
/ parsers / ultralightparser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
safe
_ load (7) - select (12)
- select! (24)
-
set
_ cache _ data (12) -
setup
_ params (12) -
single
_ delegate (12) - size (12)
- spawn (48)
-
spec
_ predecessors (12) -
specific
_ extra _ args _ hash (12) - specs (12)
- sprintf (12)
- sprintf フォーマット (12)
-
st
_ foreach (12) -
start
_ service (12) - starttls (24)
- stat (24)
- strhash (12)
-
strip
_ hashes (12) -
strongly
_ connected _ components (12) - sub (36)
- sub! (36)
- system (24)
-
tag
_ start (12) -
to
_ csv (12) -
to
_ h (19) -
to
_ hash (24) -
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (48) - uname (12)
-
unmatched
_ alias _ lists (12) - unparse (12)
- update (24)
-
verify
_ compaction _ references (6) -
webrick
/ cgi (12) -
with
_ defaults (12) - パターンマッチ (12)
検索結果
先頭5件
-
Hash
# hash -> Integer (27213.0) -
自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。 自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
...自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。
自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
//emlist[例][ruby]{
a = {}
p a.hash #=> 0
a[1] = :x
p a.hash #=> 329543
//}... -
Ruby用語集 (23100.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...Ruby用語集
A B C D E F G I J M N O R S Y
a ka sa ta na ha ma ya ra wa
=== 記号・数字
: %記法
: % notation
「%」記号で始まる多種多様なリテラル記法の総称。
参照:d:spec/literal#percent
: 0 オリジン
: zero-ba......sed
番号が 0 から始まること。
例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。
: 1 オリジン
: one-based
番号が 1 から始まること。
例えば、
エラ......ンの
間でオブジェクトにアクセスできる。
===[a:E] E
: ENV
環境変数にアクセスするためのオブジェクト。
Hash に似たインターフェースを持つ。キーも値も文字列である。
ENV で環境変数を変更すると Ruby の子プロセス... -
String
# hash -> Integer (21225.0) -
self のハッシュ値を返します。 eql? で等しい文字列は、常にハッシュ値も等しくなります。
...self のハッシュ値を返します。
eql? で等しい文字列は、常にハッシュ値も等しくなります。
//emlist[例][ruby]{
"test".hash # => 4038258770210371295
("te" + "st").hash == "test".hash # => true
//}
@see Hash... -
Range
# hash -> Integer (21213.0) -
始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
...始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
//emlist[例][ruby]{
p (1..2).hash # => 5646
p (1...2).hash # => 16782863
//}... -
Regexp
# hash -> Integer (21213.0) -
正規表現のオプションやテキストに基づいたハッシュ値を返します。
...正規表現のオプションやテキストに基づいたハッシュ値を返します。
//emlist[例][ruby]{
p /abc/i.hash # => 4893115
p /abc/.hash # => 4856055
//}... -
Gem
:: ConfigFile # hash -> Hash (21202.0) -
設定ファイルの各項目のキーと値を要素として持つハッシュです。
設定ファイルの各項目のキーと値を要素として持つハッシュです。 -
BigDecimal
# hash -> Integer (21201.0) -
self のハッシュ値を返します。
self のハッシュ値を返します。
符号、小数部、指数部が同じ場合に同じハッシュ値を返します。 -
Bignum
# hash -> Integer (21201.0) -
self のハッシュ値を返します。
self のハッシュ値を返します。 -
Object
# hash -> Integer (18295.0) -
オブジェクトのハッシュ値を返します。このハッシュ値は、Object#eql? と合わせて Hash クラスで、2つのオブジェクトを同一のキーとするか判定するために用いられます。
...オブジェクトのハッシュ値を返します。このハッシュ値は、Object#eql? と合わせて Hash クラスで、2つのオブジェクトを同一のキーとするか判定するために用いられます。
2つのオブジェクトのハッシュ値が異なるとき、直ち......eql?(B) ならば A.hash == B.hash
の関係が満たされている必要があります。
ただし、ハッシュのキーとして Integer, Symbol, String などの特定の組み込みクラスが使われるときは、組込みのハッシュ関数が使用され、hash メソッドは呼......t[][ruby]{
p self.hash #=> 2013505522753096494
p 0.hash #=> 2647535320520409998
p 0.0.hash #=> -2975129765814025835
p nil.hash #=> 2401531420355998067
p "ruby".hash #=> 4460896024486900438
p "ruby".hash #=> 4460896024486900438
p :ruby.hash #=> 3979895509189707770
p :ruby.hash #=> 39798955091... -
Array
# hash -> Integer (18225.0) -
自身のハッシュ値を整数で返します。ハッシュ値は自身の各要素のハッシュ値から 計算されます。Array#eql? で比較して等しい配列同士は同じハッシュ値を返します。
...ら
計算されます。Array#eql? で比較して等しい配列同士は同じハッシュ値を返します。
//emlist[例][ruby]{
a = ["a", "b", 1]
a.hash #=> 321
b = a.dup
b.hash #=> 321
["a", 1, "b"].hash #=> 491
["a", 1.0, "b"].hash #=> 466227
//}...