84件ヒット
[1-84件を表示]
(0.051秒)
別のキーワード
種類
- インスタンスメソッド (48)
- ライブラリ (24)
- 特異メソッド (12)
ライブラリ
クラス
-
Gem
:: Specification (60)
キーワード
-
attribute
_ alias _ singular (12) -
rake
/ gempackagetask (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) - rubygems (12)
検索結果
先頭5件
-
Gem
:: Specification # require _ path -> String (24145.0) -
Gem::Specification#require_paths の単数バージョンです。
...
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths... -
Gem
:: Specification # require _ path=(path) (12151.0) -
Gem::Specification#require_paths= の単数バージョンです。
...
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths=... -
Gem
:: Specification # require _ paths=(paths) (12122.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリ... -
Gem
:: Specification # require _ paths -> [String] (12116.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。... -
rubygems (6456.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ......小の gemspec は以下のようになります。ビルドするために必要な最小の gemspec なので出来上がるのは
メタデータのみを含む Gem パッケージです。また、いくつかの警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |...... Gem::Platform::RUBY
s.summary = 'Hello Gem'
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.has_rdoc = false
s.extra_rdoc_files = ['README']
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
//}
@see Gem::Specification, rake
=== gem... -
rake
/ gempackagetask (6074.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem パッケージだけでなく zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。
以下のタスクを定義します。
: PACKAGE_DI......R/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require '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'......re = 'rake'
s.files = PKG_FILES
s.description = <<EOF
Rake is a Make-like program implemented in Ruby. Tasks
and dependencies are specified in standard Ruby syntax.
EOF
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end... -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (6012.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...す。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param...