1557件ヒット
[1501-1557件を表示]
(0.087秒)
ライブラリ
- ビルトイン (93)
- json (456)
-
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 (84)
- prime (432)
-
rdoc
/ generator (12) -
rdoc
/ generator / darkfish (60) -
rdoc
/ generator / json _ index (48) -
rdoc
/ generator / markup (12) -
rdoc
/ generator / ri (48) -
rdoc
/ rdoc (12) - rss (48)
クラス
- BigDecimal (12)
- Complex (12)
- Date (12)
- DateTime (12)
-
Enumerator
:: Lazy (93) - Exception (12)
- Integer (12)
-
JSON
:: State (24) -
OpenSSL
:: PKey :: DH (36) -
OpenSSL
:: PKey :: DSA (24) -
OpenSSL
:: PKey :: EC :: Group (24) - OpenStruct (12)
- Prime (96)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: Generator23 (36) -
Prime
:: PseudoPrimeGenerator (168) -
Prime
:: TrialDivisionGenerator (36) -
RDoc
:: Generator :: Darkfish (48) -
RDoc
:: Generator :: JsonIndex (36) -
RDoc
:: Generator :: RI (36) -
RDoc
:: Options (24) -
RDoc
:: RDoc (12) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Rss :: Channel (24) - Range (12)
- Rational (12)
- Regexp (12)
- Struct (12)
- Symbol (12)
- Time (12)
モジュール
- JSON (24)
-
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)
キーワード
- Array (24)
- DESCRIPTION (12)
- Darkfish (12)
- EratosthenesGenerator (12)
- Extend (24)
- FalseClass (24)
- Float (24)
-
GENERATOR
_ DIR (12) - Generator (12)
- Generator23 (12)
- GeneratorError (12)
- Hash (24)
- Integer (24)
- JsonIndex (12)
- Markup (12)
- NilClass (24)
- Object (24)
- Options (12)
- PseudoPrimeGenerator (12)
- RI (12)
-
SEARCH
_ INDEX _ FILE (12) - State (12)
- String (24)
- TrialDivisionGenerator (12)
- TrueClass (24)
- VERSION (12)
-
add
_ generator (12) - chunk (24)
- each (72)
-
each
_ with _ index (24) -
from
_ state (12) - generate (84)
- generator= (36)
- initialize (24)
-
json
_ create (12) - new (48)
- next (48)
- prime? (24)
-
prime
_ division (36) - rdoc (12)
-
rdoc
/ generator (12) -
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / markup (12) -
rdoc
/ generator / ri (12) - rewind (48)
-
set
_ generator (12) -
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - state (12)
- 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件
-
Symbol
# to _ json(*args) -> String (118.0) -
自身を JSON 形式の文字列に変換して返します。
...部的にはハッシュにデータをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡されます。
@see JSON::Generator::GeneratorMethods::Hash#to_json... -
Time
# to _ json(*args) -> String (118.0) -
自身を JSON 形式の文字列に変換して返します。
...してから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡されます。
//emlist[例][ruby]{
require "json/add/core"
Time.now.to_json # => "{\"json_class\":\"Time\",\"s\":15......44968675,\"n\":676167000}"
//}
@see JSON::Generator::GeneratorMethods::Hash#to_json... -
Complex
# to _ json(*args) -> String (112.0) -
自身を JSON 形式の文字列に変換して返します。
...ら JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 使用しません。
//emlist[例][ruby]{
require 'json/add/complex'
Complex(2, 3).to_json # => "{\"json_class\":\"Complex\",\"r\":2,\"i\":3}"
//}
@see JSON::Generator::GeneratorMethods::Hash#to_json... -
Regexp
# to _ json(*args) -> String (112.0) -
自身を JSON 形式の文字列に変換して返します。
...タをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数には何の意味もありません。
//emlist[例][ruby]{
require "json/add/core"
/0\d{1,4}-\d{1,4}-\d{4}/.to_json # => "{\"json_class\":\"Regexp\",\"o\":0,\"s\":\"0\\\\......JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json
に渡されます。
//emlist[例][ruby]{
require "json/add/core"
/0\d{1,4}-\d{1,4}-\d{4}/.to_json # => "{\"json_class\":\... -
rdoc (78.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...います。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby のソースファイルに対するドキュメントを生成
するアプリケーションです。 JavaDoc と同様に、ソースを解析し、クラス......、ドキュメントを出
力します(現在は HTML しか出力できませんが、この部分は取り替え可能にでき
ています)。Markup とはプレーンテキストを様々なフォーマットに変換するた
めのライブラリです。RDoc によってメソッドやク......する。
: --tab-width n
タブの幅を指定する(デフォルトは 8)。
: --template name
出力生成時に使うテンプレートを指定する(デフォルトは 'html')。実際には
これで $: の中のディレクトリの rdoc/generators/xxxx_generator が
使われる... -
RDoc
:: Options (18.0) -
rdoc コマンドのオプションを解析するためのクラスです。
...詳細に関しては、lib:rdoc#usage を参照してくだ
さい。
===[a:custom_options] カスタムオプション
RDoc のジェネレータでは、RDoc::Options をフックして独自の
オプションを指定できます。
Object::ARGV に --format が含まれていた場合、RD......ョンを指定する場合は --format オプションは必ず指定
する必要があります。rdoc --help を実行すると追加したオプションの一覧が
確認できます。
例:
class RDoc::Generator::Spellcheck
RDoc::RDoc.add_generator self
def self.setup_options rd......oc_options
op = rdoc_options.option_parser
op.on('--spell-dictionary DICTIONARY',
RDoc::Options::Path) do |dictionary|
# RDoc::Options に spell_dictionary アクセサの定義が必要
rdoc_options.spell_dictionary = dictionary
end
end
end...