55件ヒット
[1-55件を表示]
(0.076秒)
別のキーワード
種類
- インスタンスメソッド (22)
- ライブラリ (22)
- 特異メソッド (11)
ライブラリ
クラス
-
Gem
:: Specification (33)
キーワード
-
attribute
_ alias _ singular (11) -
rake
/ gempackagetask (11) -
require
_ paths (11) - rubygems (11)
検索結果
先頭5件
-
Gem
:: Specification # require _ path -> String (18201.0) -
Gem::Specification#require_paths の単数バージョンです。
...Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths... -
Gem
:: Specification # require _ paths -> [String] (6200.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (112.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...す。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param... -
rubygems (108.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
さら......Gem パッケージをインストールするには以下のようにします。
$ gem install rak --version 0.8.1 # バージョン 0.8.1 をインストールする
$ gem install rak --version '>= 0.5' # バージョン 0.5 以上のものをインストールする
Proxy サーバ経......tp://example.com/hello'
s.platform = 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
e... -
rake
/ gempackagetask (24.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...タスクを定義します。
: PACKAGE_DIR/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'
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 standard Ruby syntax.
EOF
end
Rake::Ge...