2458件ヒット
[1-100件を表示]
(0.058秒)
種類
ライブラリ
- ビルトイン (987)
-
cgi
/ core (12) -
cgi
/ session (36) -
cgi
/ session / pstore (12) - coverage (7)
- csv (132)
- dbm (24)
- erb (8)
- gdbm (24)
-
irb
/ inspector (12) - json (240)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - matrix (12)
-
net
/ http (24) - openssl (60)
- optparse (60)
- ostruct (26)
- pstore (84)
- rake (48)
-
rdoc
/ markup / to _ html _ crossref (12) -
rdoc
/ top _ level (12) -
rexml
/ document (24) -
rubygems
/ source _ index (12) -
rubygems
/ specification (12) - sdbm (48)
- tsort (33)
- uri (72)
-
yaml
/ dbm (12) -
yaml
/ store (33)
クラス
- Array (65)
- BigDecimal (12)
- CGI (12)
-
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (84)
-
CSV
:: Row (24) -
CSV
:: Table (24) - Complex (12)
- Coverage (7)
- DBM (24)
- Data (9)
- Date (12)
- DateTime (12)
- ERB (8)
-
Enumerator
:: ArithmeticSequence (7) - Exception (12)
- GDBM (24)
-
Gem
:: SourceIndex (12) -
Gem
:: Specification (12) - Hash (491)
-
JSON
:: State (24) - Module (12)
-
Net
:: HTTPResponse (24) - Object (12)
-
OpenSSL
:: X509 :: Extension (12) -
OpenSSL
:: X509 :: ExtensionFactory (36) - OpenStruct (38)
- OptionParser (48)
- PStore (72)
- Proc (6)
-
RDoc
:: Markup :: ToHtmlCrossref (12) -
RDoc
:: TopLevel (12) -
REXML
:: DocType (12) -
REXML
:: Element (12) -
Rake
:: TaskArguments (48) - Range (12)
- Rational (12)
- Regexp (12)
-
RubyVM
:: InstructionSequence (12) - SDBM (48)
- String (36)
- Struct (35)
- Symbol (12)
- Thread (12)
- Time (12)
-
URI
:: FTP (24) -
URI
:: LDAP (24) -
URI
:: MailTo (24) - UnboundMethod (12)
- Vector (12)
-
YAML
:: DBM (12) -
YAML
:: Store (21)
モジュール
- Enumerable (59)
- GC (6)
- 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 (84)
-
OptionParser
:: Arguable (12) - TSort (33)
オブジェクト
- ENV (117)
キーワード
- % (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (12)
-
CODE
_ CLASS _ TO _ OBJ (12) -
CODE
_ TO _ OBJ (12) - ExtensionFactory (12)
- HeaderConverters (12)
- INSPECTORS (12)
- Lazy (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) - Numeric (12)
-
PATH
_ SEPARATOR (12) - PStore (12)
- Ruby用語集 (12)
-
SPECIFICATION
_ VERSION _ HISTORY (12) - Store (12)
- [] (37)
- []= (12)
-
add
_ class _ or _ module (12) -
add
_ element (12) - build (72)
- collect (28)
-
create
_ ext _ from _ hash (12) -
create
_ extension (24) -
deconstruct
_ keys (3) -
default
_ proc= (12) - delete (12)
-
delete
_ if (24) - each (24)
-
each
_ key (12) -
each
_ pair (12) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (11) -
each
_ value (12) - entities (12)
- fetch (12)
- filter (14)
- filter! (14)
- foreach (12)
- format (12)
- generate (12)
- getopts (60)
-
group
_ by (12) - gsub (12)
- gsub! (12)
-
handle
_ interrupt (12) - hash (19)
- inspect (24)
- intersection (6)
-
irb
/ completion (12) -
json
_ create (12) -
keep
_ if (24) - keys (12)
- map (28)
- merge (24)
- merge! (24)
- new (60)
- open (48)
- owner (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) - rdoc (12)
- reject (72)
- reject! (24)
- replace (36)
- restore (48)
- result (15)
- root? (12)
- roots (12)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
ruby2
_ keywords (18) - select (24)
- select! (24)
- set (9)
- spawn (48)
- sprintf (12)
- sprintf フォーマット (12)
- store (12)
-
to
_ a (24) -
to
_ csv (12) -
to
_ h (139) -
to
_ hash (120) -
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ proc (10) -
to
_ s (48) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) -
try
_ convert (12) - tsort (12)
-
tsort
_ each (11) - unparse (12)
- update (36)
- values (12)
-
verify
_ compaction _ references (6) -
with
_ defaults (12) - xmlrpc (3)
- | (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
検索結果
先頭5件
-
Hash
# to _ hash -> self (33274.0) -
self を返します。
...self を返します。
//emlist[例][ruby]{
hash = {}
p hash.to_hash # => {}
p hash.to_hash == hash # => true
//}
@see Object#to_hash, Hash#to_h... -
Hash
# to _ h -> self | Hash (27338.0) -
self を返します。Hash クラスのサブクラスから呼び出した場合は self を Hash オブジェクトに変換します。
...す。Hash クラスのサブクラスから呼び出した場合は
self を Hash オブジェクトに変換します。
//emlist[例][ruby]{
hash = {}
p hash.to_h # => {}
p hash.to_h == hash # => true
class MyHash < Hash;end
my_hash = MyHash.new
p my_hash.to_h # => {}
p my_hash.clas......s # => MyHash
p my_hash.to_h.class # => Hash
//}
ブロックを指定すると各ペアでブロックを呼び出し、
その結果をペアとして使います。
//emlist[ブロック付きの例][ruby]{
hash = { "a" => 97, "b" => 98 }
hash.to_h {|key, value| [key.upcase, value-32] } #... -
Hash
# to _ h {|key , value| block } -> Hash (27338.0) -
self を返します。Hash クラスのサブクラスから呼び出した場合は self を Hash オブジェクトに変換します。
...す。Hash クラスのサブクラスから呼び出した場合は
self を Hash オブジェクトに変換します。
//emlist[例][ruby]{
hash = {}
p hash.to_h # => {}
p hash.to_h == hash # => true
class MyHash < Hash;end
my_hash = MyHash.new
p my_hash.to_h # => {}
p my_hash.clas......s # => MyHash
p my_hash.to_h.class # => Hash
//}
ブロックを指定すると各ペアでブロックを呼び出し、
その結果をペアとして使います。
//emlist[ブロック付きの例][ruby]{
hash = { "a" => 97, "b" => 98 }
hash.to_h {|key, value| [key.upcase, value-32] } #... -
Hash
# to _ h -> self | Hash (27318.0) -
self を返します。Hash クラスのサブクラスから呼び出した場合は self を Hash オブジェクトに変換します。
...す。Hash クラスのサブクラスから呼び出した場合は
self を Hash オブジェクトに変換します。
//emlist[例][ruby]{
hash = {}
p hash.to_h # => {}
p hash.to_h == hash # => true
class MyHash < Hash;end
my_hash = MyHash.new
p my_hash.to_h # => {}
p my_hash.clas......s # => MyHash
p my_hash.to_h.class # => Hash
//}... -
Hash
# to _ a -> [Array] (27119.0) -
キーと値からなる 2 要素の配列を並べた配列を生成して返します。
...キーと値からなる 2 要素の配列を並べた配列を生成して返します。
//emlist[例][ruby]{
h1 = { "a" => 100, 2 => ["some"], :c => "c" }
p h1.to_a #=> c, "c"
//}
@see Hash#keys,Hash#values... -
Hash
# to _ proc -> Proc (27101.0) -
self のキーに対応する値を返す Proc オブジェクトを返します。
self のキーに対応する値を返す Proc オブジェクトを返します。
//emlist[][ruby]{
h = {1 => 10, 2 => 20, 3 => 30}
[1, 2, 3].map(&h) # => [10, 20, 30]
//} -
Hash
# store(key , value) -> object (24106.0) -
key に対して value を関連づけます。value を返し ます。
...key に対して value を関連づけます。value を返し
ます。
@param key キーを指定します。
@param value 値を指定します。
//emlist[例][ruby]{
h = {}
h[:key] = "value"
p h #=>{:key => "value"}
//}
@see Hash#[]... -
Hash
# to _ s -> String (24101.0) -
ハッシュの内容を人間に読みやすい文字列にして返します。
ハッシュの内容を人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
h = { "c" => 300, "a" => 100, "d" => 400 }
h.inspect # => "{\"c\"=>300, \"a\"=>100, \"d\"=>400}"
//} -
JSON
:: Ext :: Generator :: GeneratorMethods :: Hash (24016.0) -
Alias of JSON::Generator::GeneratorMethods::Hash
...Alias of JSON::Generator::GeneratorMethods::Hash... -
JSON
:: Generator :: GeneratorMethods :: Hash (24016.0) -
Hash に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
...Hash に JSON で使用するインスタンスメソッドを追加するためのモジュールです。...