408件ヒット
[1-100件を表示]
(0.032秒)
種類
- インスタンスメソッド (264)
- 特異メソッド (120)
- ライブラリ (24)
ライブラリ
- json (120)
-
json
/ add / struct (12) - openssl (36)
- prime (204)
-
rdoc
/ generator / json _ index (12)
クラス
- Integer (12)
-
JSON
:: State (12) -
OpenSSL
:: PKey :: DH (36) - Prime (96)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: PseudoPrimeGenerator (60) -
RDoc
:: Generator :: JsonIndex (12) - Struct (12)
モジュール
-
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 (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12)
キーワード
- each (48)
-
each
_ with _ index (24) - next (12)
- prime? (24)
-
prime
_ division (36) - rdoc (12)
-
rdoc
/ generator / json _ index (12) - rewind (12)
- succ (12)
-
to
_ json (120) -
with
_ index (24)
検索結果
先頭5件
- RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex - Prime
:: PseudoPrimeGenerator . new(upper _ bound = nil) -> Prime :: PseudoPrimeGenerator - OpenSSL
:: PKey :: DH . new(size , generator = 2) -> OpenSSL :: PKey :: DH - JSON
:: State . new(options = {}) -> JSON :: State - OpenSSL
:: PKey :: DH . new() -> OpenSSL :: PKey :: DH
-
RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex (21337.0) -
RDoc::Generator::JsonIndex オブジェクトを初期化します。
...RDoc::Generator::JsonIndex オブジェクトを初期化します。
@param parent_generator 親となるジェネレータオブジェクトを指定します。
RDoc::Generator::JsonIndex#class_dir や
#file_dir を決めるのに使用します......のジェネレータとは異なり、RDoc::Store
オブジェクトではない点に注意してください。
@param options RDoc::Options オブジェクトを指定します。
parent_generator に渡されたものと同じものを指定します。... -
Prime
:: PseudoPrimeGenerator . new(upper _ bound = nil) -> Prime :: PseudoPrimeGenerator (21201.0) -
自身を初期化します。
自身を初期化します。
@param upper_bound 列挙する素数の上界を指定します。 -
OpenSSL
:: PKey :: DH . new(size , generator = 2) -> OpenSSL :: PKey :: DH (18210.0) -
DH オブジェクトを生成します。
...トには鍵パラメータも鍵対も設定されていません。
@param size 鍵パラメータの素数のサイズ(ビット数)
@param generator 鍵パラメータの生成元(2以上の整数、通常2か5)
@param obj 鍵パラメータを読み込むオブジェクト
@raise OpenSSL::PKey... -
JSON
:: State . new(options = {}) -> JSON :: State (18137.0) -
自身を初期化します。
...he generator's internal buffer.
//emlist[例 Hash を指定][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.class # => JSON::Ext::Generator::State
json_state.indent # => "\t"
//}
//emlist[例 JSON::State を指定][ruby]{
require "json"
json_state = JSON::State.new(......indent: "\t")
copy = JSON::State.new(json_state)
copy.class # => JSON::Ext::Generator::State
copy.indent # => "\t"
//}... -
OpenSSL
:: PKey :: DH . new() -> OpenSSL :: PKey :: DH (18110.0) -
DH オブジェクトを生成します。
...トには鍵パラメータも鍵対も設定されていません。
@param size 鍵パラメータの素数のサイズ(ビット数)
@param generator 鍵パラメータの生成元(2以上の整数、通常2か5)
@param obj 鍵パラメータを読み込むオブジェクト
@raise OpenSSL::PKey... -
OpenSSL
:: PKey :: DH . new(obj) -> OpenSSL :: PKey :: DH (18110.0) -
DH オブジェクトを生成します。
...トには鍵パラメータも鍵対も設定されていません。
@param size 鍵パラメータの素数のサイズ(ビット数)
@param generator 鍵パラメータの生成元(2以上の整数、通常2か5)
@param obj 鍵パラメータを読み込むオブジェクト
@raise OpenSSL::PKey... -
rdoc
/ generator / json _ index (6024.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...ブライブラリです。
This generator is derived from sdoc by Vladimir Kolesnikov and
contains verbatim code written by him.
このジェネレータは HTML ジェネレータと一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options......# ...
@base_dir = Pathname.pwd.expand_path
@json_index = RDoc::Generator::JsonIndex.new self, options
end
def generate
# ...
@json_index.generate
end
end
=== インデックスフォーマット
検索用のインデックスは JSON ファイルに... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (6018.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
class Person
attr :name, :age
def initialize(name, age)
@name, @age = name, age
end
end
tanaka = Person.new("tanaka", 29)
tanaka.to_json # => "......\"#<Person:0x00007ffdec0167c8>\""
tanaka.method(:to_json).owner # => JSON::Ext::Generator::GeneratorMethods::Object
//}... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (6006.0) -
自身から生成した JSON 形式の文字列を返します。
...N 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
[1, 2, 3].to_json # => "[1,2,3]"
//}...