36件ヒット
[1-36件を表示]
(0.138秒)
別のキーワード
種類
- インスタンスメソッド (12)
- ライブラリ (12)
- 特異メソッド (12)
ライブラリ
クラス
-
Gem
:: Specification (24)
キーワード
-
attribute
_ alias _ singular (12) -
rake
/ gempackagetask (12)
検索結果
先頭3件
-
Gem
:: Specification # require _ path=(path) (24300.0) -
Gem::Specification#require_paths= の単数バージョンです。
...Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths=... -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (6106.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...うことです。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定しま... -
rake
/ gempackagetask (6006.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。
以下のタスクを定義します。
: PACKAGE_DIR/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform......e 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
Rake is a Make-like program implemented in Ruby. Tasks
and dependencies are specified in stand......ard Ruby syntax.
EOF
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end...