るりまサーチ

最速Rubyリファレンスマニュアル検索!
408件ヒット [1-100件を表示] (0.032秒)

別のキーワード

  1. rss generator
  2. json generator
  3. rss generator=
  4. generator23 next
  5. generator23 succ

検索結果

<< 1 2 3 ... > >>

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]"
//}...
<< 1 2 3 ... > >>