222件ヒット
[1-100件を表示]
(0.023秒)
種類
- ライブラリ (121)
- インスタンスメソッド (36)
- 文書 (29)
- モジュール関数 (24)
- クラス (12)
ライブラリ
- json (24)
-
rubygems
/ commands / which _ command (12)
クラス
-
RDoc
:: Options (36)
モジュール
- JSON (24)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 0 . 0 (5) - WhichCommand (12)
-
load
_ file (12) -
load
_ file! (12) - rake (12)
-
rake
/ rdoctask (12) - rdoc (12)
-
rdoc
/ generator / json _ index (12) -
rdoc
/ markdown (12) -
rdoc
/ parser (12) -
ruby 1
. 8 . 4 feature (12) - rubygems (12)
-
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / server _ command (12) -
static
_ path (12) -
static
_ path= (12) -
test
/ unit (1)
検索結果
先頭5件
-
RDoc
:: Options # files -> [String] (21101.0) -
解析するファイルの一覧を文字列の配列で返します。
解析するファイルの一覧を文字列の配列で返します。 -
RDoc
:: Options # static _ path -> [String] (3016.0) -
コマンドライン引数の --copy-files オプションで指定したパスの一覧を返し ます。
...コマンドライン引数の --copy-files オプションで指定したパスの一覧を返し
ます。... -
RDoc
:: Options # static _ path=(vals) (3016.0) -
コマンドライン引数の --copy-files オプションと同様の指定を行います。
...コマンドライン引数の --copy-files オプションと同様の指定を行います。
@param vals パスを文字列の配列で指定します。... -
JSON
. # load _ file!(filespec , opts = {}) -> object (106.0) -
filespec で指定した JSON 形式のファイルを Ruby オブジェクトとしてロードして返します。
...
filespec で指定した JSON 形式のファイルを Ruby オブジェクトとしてロードして返します。
@param filespec ファイル名を指定します。
@param options オプションをハッシュで指定します。指定可能なオプションは JSON.#parse! と同様で... -
JSON
. # load _ file(filespec , opts = {}) -> object (106.0) -
filespec で指定した JSON 形式のファイルを Ruby オブジェクトとしてロードして返します。
...
filespec で指定した JSON 形式のファイルを Ruby オブジェクトとしてロードして返します。
@param filespec ファイル名を指定します。
@param options オプションをハッシュで指定します。指定可能なオプションは JSON.#parse と同様で... -
rdoc (96.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...要
インストールすれば、'rdoc' コマンドでドキュメントが生成できます。
(Windows では 'rdoc.bat' です)
$ rdoc [options] [names...]
"rdoc --help" と打てば、最新のオプションに関する情報が得られます。
$ rdoc
このコマンドでカレ......みが
処理されます。
===[a:usage] 使いかた
RDoc はコマンドラインから以下のようにして起動します。
$ rdoc <options> [name...]
ファイルをパースし、そこに含まれている情報を集め、出力します。こうして
全ファイルに渡るク......or other pages not associated with
a class live. Set this when you don't store such files at your
project root. NOTE: Do not use the same file name in the page dir
and the root of your project
: --copy-files path
path で指定したファイルかディレクトリを出力先のディ... -
rubygems (48.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
gem install rake
gem list --local
gem build package.gemspec
gem help install
さらに......c][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
s.files = ['lib/hello.rb']
s.authors = ['Hello Author']
s.email = 'hello_author@example.com'
s.homepage =......を指定します。
: version
この Gem のバージョンを指定します。
: summary
この Gem の短い説明を指定します。
: files
この Gem に含むファイルのリストを指定します。
: authors
この Gem の作者のリストを指定します。
: email
こ... -
rubygems
/ commands / generate _ index _ command (42.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
...ックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します......the index files for a gem server directory
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under the path given to
the --directory option. When done, it will generate a set of files like......this:
gems/ # .gem files you want to
index
quick/index
quick/index.rz # quick index manifest
quick/<gemname>.gemspec.rz # legacy YAML quick index
file
quic... -
rdoc
/ parser (36.0) -
rdoc で解析できるファイルの種類を追加するためのサブライブラリです。
...たクラスを作成する事で、新しいパーサクラスを作成
する事ができます。
* #initialize(top_level, file_name, body, options, stats)
* #scan
initialize メソッドは以下の引数を受け取ります。
* top_level RDoc::TopLevel オブジェクトを指定しま......e_name: file_name ファイル名を文字列で指定します。
* body: ソースコードの内容を文字列で指定します。
* options: RDoc::Options オブジェクトを指定します。
* stats: RDoc::Stats オブジェクトを指定します。
scan メソッドは引数を受......parse_files_matching メソッドで自身が解析できるファイル名のパ
ターンを登録しておく必要があります。
例:
require "rdoc/parser"
class RDoc::Parser::Xyz < RDoc::Parser
parse_files_matching /\.xyz$/
def initialize(file_name, body, options)...