43件ヒット
[1-43件を表示]
(0.015秒)
種類
- 特異メソッド (22)
- インスタンスメソッド (11)
- 文書 (10)
ライブラリ
- rake (33)
クラス
-
Rake
:: Application (11)
モジュール
- Rake (22)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (10) - application= (11)
-
original
_ dir (11)
検索結果
先頭4件
-
Rake
. application -> Rake :: Application (18226.0) -
現在の Rake アプリケーションを返します。
.../emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loader......DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rul... -
Rake
:: Application # original _ dir -> String (9119.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
. application=(app) (6143.0) -
現在の Rake アプリケーションをセットします。
...m app Rake::Application のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# =>......ent=false, suppress_backtrace_pattern=nil, thread_pool_size=20, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],... -
NEWS for Ruby 2
. 2 . 0 (24.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...した。 9593
=== 組み込みクラスの更新
* Binding
* 追加: Binding#local_variables
* 追加: Binding#receiver
* Dir
* 追加: Dir#fileno
* Enumerable
* 追加: Enumerable#slice_after
* 追加: Enumerable#slice_when
* 拡張: Enumerable#min, Enumerable#min......* gserver という gem に切り出しました。メンテナンスしていないコードでした。
* Logger
* Logger::Application は logger-application という gem に切り出しました。メンテナンスしていないコードでした。
* ObjectSpace (after requiring "o...