2302件ヒット
[1-100件を表示]
(0.043秒)
種類
ライブラリ
- ビルトイン (812)
- abbrev (24)
-
cgi
/ core (24) - csv (120)
- date (124)
- forwardable (48)
- json (264)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (24) -
json
/ add / date _ time (24) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (24) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - matrix (12)
-
net
/ http (36) - objspace (12)
- open3 (12)
- openssl (36)
- pathname (12)
-
rdoc
/ code _ object (12) -
rdoc
/ context (24) -
rdoc
/ markup / to _ html _ crossref (12) -
rexml
/ document (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) - rubygems (12)
-
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (72) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (24) - sdbm (12)
- tsort (33)
-
webrick
/ httprequest (12) -
webrick
/ httputils (12) -
yaml
/ dbm (12)
クラス
- Array (26)
- BigDecimal (12)
- CGI (24)
- CSV (120)
- Complex (12)
- Data (12)
- Date (134)
- DateTime (38)
-
Encoding
:: Converter (48) -
Enumerator
:: ArithmeticSequence (7) - Exception (12)
- Float (12)
-
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (72) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (24) - Hash (267)
-
JSON
:: State (48) - MatchData (26)
- Matrix (12)
- Module (12)
-
Net
:: HTTPRequest (12) -
OpenSSL
:: X509 :: ExtensionFactory (36) - OpenStruct (12)
- Pathname (12)
- Proc (6)
-
RDoc
:: CodeObject (12) -
RDoc
:: Context (24) -
RDoc
:: Markup :: ToHtmlCrossref (12) -
REXML
:: Attributes (12) -
REXML
:: Element (24) -
REXML
:: XPath (24) - Range (12)
- Rational (36)
- Regexp (12)
-
RubyVM
:: InstructionSequence (24) - SDBM (12)
- String (168)
- Struct (12)
- Symbol (12)
- Thread (12)
- Time (12)
-
WEBrick
:: HTTPRequest (12) -
YAML
:: DBM (12)
モジュール
- Abbrev (12)
- Enumerable (34)
- Forwardable (24)
- GC (48)
-
GC
:: Profiler (12) -
Gem
:: QuickLoader (12) - 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 (24)
-
Net
:: HTTPHeader (24) - ObjectSpace (12)
- Open3 (12)
-
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12) - SingleForwardable (24)
- TSort (33)
オブジェクト
- ENV (62)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - FormData (12)
- GemPaths (12)
-
HTTP
_ STATUS (12) - Hash (24)
- Lazy (12)
-
MARSHAL
_ FIELDS (12) - Marshal フォーマット (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (5) -
PATH
_ SEPARATOR (12) -
SPECIFICATION
_ VERSION _ HISTORY (12) - [] (12)
-
_ httpdate (12) -
_ iso8601 (12) -
_ jisx0301 (12) -
_ parse (12) -
_ rfc2822 (12) -
_ rfc3339 (12) -
_ rfc822 (12) -
_ strptime (24) -
_ xmlschema (12) - abbrev (24)
-
add
_ attributes (12) -
add
_ element (12) - all? (8)
- attributes (12)
-
cache
_ data (24) - collect (14)
- compile (12)
-
count
_ tdata _ objects (12) -
create
_ ext _ from _ hash (12) -
create
_ extension (24) -
deconstruct
_ keys (9) - delegate (24)
-
delete
_ if (12) - each (36)
-
each
_ key (12) -
each
_ pair (12) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (11) -
each
_ value (12) -
fetch
_ path (12) -
fetch
_ values (20) - filter (14)
- filter! (14)
- flatten (12)
- foreach (24)
-
form
_ data= (12) - format (12)
-
from
_ state (12) - generate (24)
-
generate
_ line (12) -
group
_ by (12) - gsub (48)
- gsub! (48)
-
handle
_ interrupt (12) - index (7)
- instance (24)
-
instance
_ delegate (12) -
json
_ create (156) -
keep
_ if (24) - key (12)
-
latest
_ cache _ data (12) -
latest
_ gc _ info (24) -
latest
_ specs (12) - map (14)
-
mark
_ hashentry (12) - match (12)
-
named
_ captures (12) - namespaces (12)
- new (60)
- numhash (12)
- pipeline (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
primitive
_ convert (48) -
raw
_ data (12) -
rb
_ f _ hash (12) - rdoc (12)
- read (12)
-
read
_ cache _ data (12) - readlines (12)
- rehash (12)
- reject (24)
- reject! (12)
-
reset
_ cache _ for (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
_ cache _ data (12) -
set
_ form _ data (12) -
single
_ delegate (12) - sprintf (12)
- sprintf フォーマット (12)
-
start
_ element (12) - stat (24)
-
stat
_ col (12) - strhash (12)
- sub (36)
- sub! (36)
- table (12)
-
tag
_ start (12) -
to
_ h (18) -
to
_ hash (12) -
to
_ json (144) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
transform
_ keys (8) -
transform
_ keys! (8) -
transform
_ values (9) -
transform
_ values! (9) -
tsort
_ each (11) -
unmatched
_ alias _ lists (12) -
unmatched
_ alias _ lists= (12) - unparse (12)
- update (48)
-
values
_ at (12) - xmlrpc (3)
- yaml (12)
- パターンマッチ (12)
検索結果
先頭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...