るりまサーチ

最速Rubyリファレンスマニュアル検索!
2340件ヒット [1-100件を表示] (0.101秒)
トップページ > クエリ:r[x] > クエリ:files[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

rubygems (26054.0)

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。


===[a:gem_command] gem コマンドの使い方

$ gem help

R
ubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ...
...的なヘルプメッセージです。

使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]

例:
gem install rake
gem list --local
gem build package.gemspec
gem help install

さらに...
...//emlist[gemspec][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.ho...

rdoc (26030.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。

このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby...
...てきます(include,require もです)。そ
してこれらの内容とその直前に書かれたコメントを併合し、ドキュメントを出
力します(現在は HTML しか出力できませんが、この部分は取り替え可能にでき
ています)。Markup とはプレーンテ...
...urce tree documentation will be generated for. Set this
when building documentation outside the source directory. Default is
the current directory.

: --page-dir dir

Directory where guides, your FAQ or other pages not associated with
a class live. Set this when you don't store such files...

rubygems/commands/generate_index_command (26024.0)

ある Gem サーバに対するインデックスを作成するためのライブラリです。

...です。

Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を...
...-backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Generates 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...

rake (26018.0)

Rake というコマンドラインツールを扱うライブラリです。

...Rake というコマンドラインツールを扱うライブラリです。

=== Rake とは

R
ake は Make によく似た機能を持つ Ruby で書かれたシンプルなビルドツールです。

R
ake は以下のような特徴を持っています。

* Rakefile (Rake における Makef...
...ile) は標準的な Ruby の文法で書くことができます。
XML ファイルを編集する必要はありませんし、Makefile の風変わりな文法 (タブだっけ?スペースだっけ?) に頭を悩ませる必要もありません。
* ユーザは必須条件をタス...
...: utf-8
r
equire 'rake/testtask'
r
equire 'rake/clean' # clean, clobber の二つのタスクを定義
task :default => [:test]

1.upto(8) do |n|
R
ake::TestTask.new("test_step#{n}") do |t|
t.libs << "step#{n}"
t.test_files = FileList["step#{n}/test_*.rb"]
t.verbose =...

rubygems/commands/pristine_command (26018.0)

インストールされている Gem パッケージを初期状態にするためのライブラリです。

...ブラリです。

Usage: gem pristine [args] [options]
Options:
--all インストールされている全ての Gem パッケージを
初期状態に戻します
-v, --version VERSION 指定したバ...
...を表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレー...
...ンを有効にします
Arguments:
GEMNAME gem to restore to pristine condition (unless --all)
Summary:
R
estores installed gems to pristine condition from files located in the gem
cache
Description:
The pristine command compares the installed gems with the...

絞り込み条件を変える

rake/gempackagetask (26012.0)

Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。

...z, tar.gz, tar.bz2 の各ファイルを作成する事もできます。

以下のタスクを定義します。

: PACKAGE_DIR/NAME-VERSION.gem
Gem パッケージを作成します。

例:
r
equire 'rubygems'

spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY...
...s.summary = "Ruby based make-like utility."
s.name = 'rake'
s.version = PKG_VERSION
s.requirements << 'none'
s.require_path = 'lib'
s.autorequire = 'rake'
s.files = PKG_FILES
s.description = <<EOF
R
ake is a Make-like program implemented in Ruby. Tasks
an...
...d dependencies are specified in standard Ruby syntax.
EOF
end

R
ake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end...

rake/rdoctask (26012.0)

ドキュメントを作成するためのタスクを定義します。

...: rdoc
R
Doc を作成します。
: clobber_rdoc
生成された RDoc のファイルを削除します。
このタスクは clobber タスクにも追加されます。
: rerdoc
既に存在する RDoc が古くなくても RDoc を作成します。


例:
R
ake::RDocTask.new do |rd|...
...rd.main = "README.rdoc"
r
d.rdoc_files.include("README.rdoc", "lib/**/*.rb")
end

例:
# RDoc タスクに別の名前を付ける例
R
ake::RDocTask.new(:rdoc_dev) do |rd|
r
d.main = "README.doc"
r
d.rdoc_files.include("README.rdoc", "lib/**/*.rb")
r
d.options << "--all...

rdoc/parser (26012.0)

rdoc で解析できるファイルの種類を追加するためのサブライブラリです。

...rdoc で解析できるファイルの種類を追加するためのサブライブラリです。

以下のメソッドを定義したクラスを作成する事で、新しいパーサクラスを作成
する事ができます。

* #initialize(top_level, file_name, body, options, stats)
* #sc...
...* top_level RDoc::TopLevel オブジェクトを指定します。
* file_name: file_name ファイル名を文字列で指定します。
* body: ソースコードの内容を文字列で指定します。
* options: RDoc::Options オブジェクトを指定します。
* stats: RDoc::Stats...
...は必ず
R
Doc::TopLevel オブジェクトを返す必要があります。

また、RDoc::Parser はファイル名からパーサクラスを取得するのにも使
われます。このために、新しく作成するパーサクラスでは RDoc::Parser
を継承し、parse_files_matching...

rake/packagetask (26006.0)

配布するパッケージ (zip, tar, etc...) を作成するためのタスクを定義します。

...配布するパッケージ (zip, tar, etc...) を作成するためのタスクを定義します。

このライブラリをロードすると以下のタスクが使用可能になります。

: package
パッケージを作成します。
: clobber_package
作成したパッケージを削...
...ber タスクにも追加されます。
: repackage
パッケージが古くない場合でもパッケージを再作成します。
: PACKAGE_DIR/NAME-VERSION.tgz
R
ake::PackageTask#need_tar が真の場合 gzip された tar パッケージを作成します。
: PACKAGE_DIR/NAME-VERSION.tar....
...れた tar パッケージを作成します。
: PACKAGE_DIR/NAME-VERSION.zip
R
ake::PackageTask#need_zip が真の場合 zip されたパッケージを作成します。

例:
R
ake::PackageTask.new("rake", "1.2.3") do |t|
t.need_tar = true
t.package_files.include("lib/**/*.rb")
e...
<< 1 2 3 ... > >>