2060件ヒット
[1-100件を表示]
(0.045秒)
種類
ライブラリ
- ビルトイン (721)
- abbrev (22)
-
cgi
/ core (22) - csv (99)
- date (110)
- forwardable (44)
- json (242)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (22) -
json
/ add / date _ time (22) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (22) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) - matrix (11)
-
net
/ http (33) - objspace (11)
- open3 (11)
- openssl (33)
- pathname (11)
-
rdoc
/ code _ object (11) -
rdoc
/ context (22) -
rdoc
/ markup / to _ html _ crossref (11) -
rexml
/ document (55) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) - rubygems (11)
-
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (66) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (22) - sdbm (11)
- tsort (30)
-
webrick
/ httprequest (11) -
webrick
/ httputils (11) -
yaml
/ dbm (11)
クラス
- Array (23)
- BigDecimal (11)
- CGI (22)
- CSV (99)
- Complex (11)
- Data (8)
- Date (121)
- DateTime (33)
-
Encoding
:: Converter (44) -
Enumerator
:: ArithmeticSequence (6) - Exception (11)
- Float (11)
-
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (66) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (22) - Hash (243)
-
JSON
:: State (44) - MatchData (22)
- Matrix (11)
- Module (5)
-
Net
:: HTTPRequest (11) -
OpenSSL
:: X509 :: ExtensionFactory (33) - OpenStruct (11)
- Pathname (11)
- Proc (5)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (22) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
REXML
:: Attributes (11) -
REXML
:: Element (22) -
REXML
:: XPath (22) - Range (11)
- Rational (33)
- Regexp (11)
-
RubyVM
:: InstructionSequence (22) - SDBM (11)
- String (154)
- Struct (11)
- Symbol (11)
- Thread (11)
- Time (11)
-
WEBrick
:: HTTPRequest (11) -
YAML
:: DBM (11)
モジュール
- Abbrev (11)
- Enumerable (23)
- Forwardable (22)
- GC (44)
-
GC
:: Profiler (11) -
Gem
:: QuickLoader (11) - JSON (44)
-
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 :: String :: Extend (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (22)
-
Net
:: HTTPHeader (22) - ObjectSpace (11)
- Open3 (11)
-
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11) - SingleForwardable (22)
- TSort (30)
オブジェクト
- ENV (56)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - FormData (11)
- GemPaths (11)
-
HTTP
_ STATUS (11) - Hash (22)
- Lazy (11)
-
MARSHAL
_ FIELDS (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) -
PATH
_ SEPARATOR (11) -
SPECIFICATION
_ VERSION _ HISTORY (11) - [] (11)
-
_ httpdate (11) -
_ iso8601 (11) -
_ jisx0301 (11) -
_ parse (11) -
_ rfc2822 (11) -
_ rfc3339 (11) -
_ rfc822 (11) -
_ strptime (22) -
_ xmlschema (11) - abbrev (22)
-
add
_ attributes (11) -
add
_ element (11) - attributes (11)
-
cache
_ data (22) - collect (12)
- compile (11)
-
count
_ tdata _ objects (11) -
create
_ ext _ from _ hash (11) -
create
_ extension (22) -
deconstruct
_ keys (2) - delegate (22)
-
delete
_ if (11) - each (33)
-
each
_ key (11) -
each
_ pair (11) -
each
_ strongly _ connected _ component (10) -
each
_ strongly _ connected _ component _ from (10) -
each
_ value (11) -
fetch
_ path (11) -
fetch
_ values (18) - filter (12)
- filter! (12)
- flatten (11)
- foreach (11)
-
form
_ data= (11) - format (11)
-
from
_ state (11) - generate (22)
-
generate
_ line (11) -
group
_ by (11) - gsub (44)
- gsub! (44)
-
handle
_ interrupt (11) - index (7)
- instance (22)
-
instance
_ delegate (11) -
json
_ create (143) -
keep
_ if (22) - key (11)
-
latest
_ cache _ data (11) -
latest
_ gc _ info (22) -
latest
_ specs (11) - map (12)
-
mark
_ hashentry (11) - match (11)
-
named
_ captures (11) - namespaces (11)
- new (55)
- numhash (11)
- pipeline (11)
-
pretty
_ generate (11) -
pretty
_ unparse (11) -
primitive
_ convert (44) -
raw
_ data (11) -
rb
_ f _ hash (11) - rdoc (11)
- read (11)
-
read
_ cache _ data (11) - readlines (11)
- rehash (11)
- reject (22)
- reject! (11)
-
reset
_ cache _ for (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (10) - select (22)
- select! (22)
-
set
_ cache _ data (11) -
set
_ form _ data (11) -
single
_ delegate (11) - sprintf (11)
- sprintf フォーマット (11)
-
start
_ element (11) - stat (22)
-
stat
_ col (11) - strhash (11)
- sub (33)
- sub! (33)
- table (11)
-
tag
_ start (11) -
to
_ h (15) -
to
_ hash (11) -
to
_ json (132) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
transform
_ keys (7) -
transform
_ keys! (7) -
transform
_ values (8) -
transform
_ values! (8) -
tsort
_ each (10) -
unmatched
_ alias _ lists (11) -
unmatched
_ alias _ lists= (11) - unparse (11)
- update (44)
-
values
_ at (11) - xmlrpc (3)
- yaml (11)
検索結果
先頭5件
-
MatchData
# hash -> Integer (24101.0) -
self のマッチ対象になった文字列、元になった正規表現オブジェクト、マッチ した位置を元にハッシュ値を計算して返します。
self のマッチ対象になった文字列、元になった正規表現オブジェクト、マッチ
した位置を元にハッシュ値を計算して返します。 -
Data
# hash -> Integer (21125.0) -
自身のハッシュ値を整数で返します。 Data#eql? で比較して等しいオブジェクトは同じハッシュ値を返します。
...整数で返します。
Data#eql? で比較して等しいオブジェクトは同じハッシュ値を返します。
//emlist[例][ruby]{
Dog = Data.define(:name, :age)
dog1 = Dog.new("Fred", 5)
p dog1.hash # => -3931425561194935428
dog2 = Dog.new("Fred", 5)
p dog2.hash # => -3931425561194935428......w("Fred", 6)
p dog3.hash # => -4469132459285820530
//}
[注意] 本メソッドの記述は Data のサブクラスのインスタンスに対して呼び
出す事を想定しています。Data.define は Data のサブクラスを作成する点に
注意してください。
@see Object#hash... -
Float
# hash -> Integer (21119.0) -
ハッシュ値を返します。
...ハッシュ値を返します。
//emlist[例][ruby]{
pi1 = 3.14
pi2 = 3.14
pi3 = 3.1415
pi1.hash # => 335364239
pi2.hash # => 335364239
pi3.hash # => 420540030
//}... -
Matrix
# hash -> Integer (21117.0) -
行列のHash値を返します。
...行列のHash値を返します。... -
Rational
# hash -> Integer (21107.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
@return ハッシュ値を返します。
@see Object#hash... -
Enumerator
:: ArithmeticSequence # hash -> Integer (21101.0) -
自身のハッシュ値を返します。
自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。 -
Pathname
# hash -> Integer (21101.0) -
ハッシュ値を返します。
ハッシュ値を返します。 -
Hash
# values _ at(*keys) -> [object] (15137.0) -
引数で指定されたキーに対応する値の配列を返します。
...引数が指定されなかった場合は、空の配列を返します。
//emlist[例][ruby]{
h = {1=>"a", 2=>"b", 3=>"c"}
p h.values_at(1,3,4) #=> ["a", "c", nil]
# [h[1], h[3] ,h[4]] と同じ
//}
@see Hash#[] , Hash.new, Hash#default, Hash#default_proc, Array#values_at... -
Hash
# flatten(level = 1) -> Array (15100.0) -
自身を平坦化した配列を生成して返します。
...自身を平坦化した配列を生成して返します。
全てのキーと値を新しい配列の要素として展開します。
Array#flatten と違って、デフォルトではこのメソッドは自身を
再帰的に平坦化しません。level を指定すると指定されたレ......latten #=> [1, "one", 2, [2, "two"], 3, "three"]
a.flatten(1) #=> [1, "one", 2, [2, "two"], 3, "three"]
a.flatten(2) #=> [1, "one", 2, 2, "two", 3, "three"]
a.flatten(0) #=> [[1, "one"], [2, [2, "two"]], [3, "three"]]
a.flatten(-1) #=> [1, "one", 2, 2, "two", 3, "three"]
//}
@see Array#flatt... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (12308.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同じになります。
@param hash 生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext... -
CGI
:: PATH _ SEPARATOR -> Hash (12301.0) -
パスの区切り文字を格納します。
パスの区切り文字を格納します。