777件ヒット
[101-200件を表示]
(0.180秒)
ライブラリ
- ビルトイン (81)
- json (132)
-
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) - openssl (12)
- prime (324)
-
rdoc
/ generator / darkfish (24) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / ri (24)
クラス
- BigDecimal (12)
- Complex (12)
- Date (12)
- DateTime (12)
-
Enumerator
:: Lazy (81) - Exception (12)
- Integer (12)
-
OpenSSL
:: PKey :: EC :: Group (12) - OpenStruct (12)
- Prime (48)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: Generator23 (36) -
Prime
:: PseudoPrimeGenerator (156) -
Prime
:: TrialDivisionGenerator (36) -
RDoc
:: Generator :: Darkfish (24) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Generator :: RI (24) -
RDoc
:: Options (24) - Range (12)
- Rational (12)
- Regexp (12)
- Struct (12)
- Symbol (12)
- Time (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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12)
キーワード
- chunk (12)
- each (48)
-
each
_ with _ index (24) - generate (36)
- generator= (12)
- initialize (24)
- next (48)
- prime? (12)
-
prime
_ division (24) - rewind (48)
-
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - succ (48)
-
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
upper
_ bound (12) -
upper
_ bound= (12) -
with
_ index (24) -
with
_ object (24)
検索結果
先頭5件
- Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object - Prime
# prime?(value , generator = Prime :: Generator23 . new) -> bool - Prime
# prime _ division(value , generator= Prime :: Generator23 . new) -> [[Integer , Integer]] - RDoc
:: Generator :: Darkfish # initialize(store , options) -> RDoc :: Generator :: Darkfish - RDoc
:: Generator :: RI # initialize(store , options) -> RDoc :: Generator :: RI
-
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (12101.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
Prime
# prime?(value , generator = Prime :: Generator23 . new) -> bool (9415.0) -
与えられた整数が素数である場合は、真を返します。 そうでない場合は偽を返します。
...@param generator 素数生成器のインスタンスを指定します。
@return 素数かどうかを返します。
引数 value に負の数を指定した場合は常に false を返します。
@see Prime.prime?, Prime::EratosthenesGenerator, Prime::TrialDivisionGenerator, Prime::Ge... -
Prime
# prime _ division(value , generator= Prime :: Generator23 . new) -> [[Integer , Integer]] (9415.0) -
与えられた整数を素因数分解します。
...与えられた整数を素因数分解します。
@param value 素因数分解する任意の整数を指定します。
@param generator 素数生成器のインスタンスを指定します。
@return 素因数とその指数から成るペアを要素とする配列です。つまり、戻......@raise ZeroDivisionError 与えられた数値がゼロである場合に発生します。
//emlist[例][ruby]{
require 'prime'
Prime.prime_division(12) #=> [[2,2], [3,1]]
Prime.prime_division(10) #=> [[2,1], [5,1]]
//}
@see Prime.prime_division, Prime::EratosthenesGenerator, Prime::TrialDivision......Generator, Prime::Generator23... -
RDoc
:: Generator :: Darkfish # initialize(store , options) -> RDoc :: Generator :: Darkfish (9218.0) -
RDoc::Generator::Darkfish オブジェクトを初期化します。
...RDoc::Generator::Darkfish オブジェクトを初期化します。
@param store RDoc::Store オブジェクトを指定します。
@param options RDoc::Options オブジェクトを指定します。... -
RDoc
:: Generator :: RI # initialize(store , options) -> RDoc :: Generator :: RI (9218.0) -
RDoc::Generator::RI オブジェクトを初期化します。
...RDoc::Generator::RI オブジェクトを初期化します。
@param store RDoc::Store オブジェクトを指定します。
@param options RDoc::Options オブジェクトを指定します。... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (9145.0) -
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
...自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json... -
Prime
:: EratosthenesGenerator # rewind -> nil (9137.0) -
列挙状態を巻き戻します。
...列挙状態を巻き戻します。
//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.next #=> 5
generator.rewind
p generator.next #=> 2
//}... -
RDoc
:: Options # generator=(val) (9108.0) -
コマンドライン引数の --fmt オプションと同様の指定を行います。
...コマンドライン引数の --fmt オプションと同様の指定を行います。
@param val 設定する Generator を指定します。... -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (9101.0) -
自身から生成した JSON 形式の文字列を返します。
...する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
10.to_json # => "10"
//}...