current_scope -> Array[permalink][rdoc]-
現在のスコープを返します。
# Rakefile での記載例とする task default: :test_rake_app task :test_rake_app do Rake.application.current_scope # => LL() end
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
current_scope -> Array[permalink][rdoc]現在のスコープを返します。
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.current_scope # => LL()
end