Ruby 3.4 リファレンスマニュアル

instance method Rake::TaskManager#current_scope

current_scope -> ArrayRuby 1.9.3 から[permalink][rdoc][edit]

現在のスコープを返します。

# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
  p Rake.application.current_scope # => LL()
end