method

load_tasks

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Rails::Railtie

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

These similar methods exist in v7.1.3.2:

load_tasks(app=self) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/railtie.rb, line 182 def load_tasks(app=self) extend Rake::DSL if defined? Rake::DSL self.class.rake_tasks.each { |block| self.instance_exec(app, &block) } # load also tasks from all superclasses klass = self.class.superclass while klass.respond_to?(:rake_tasks) klass.rake_tasks.each { |t| self.instance_exec(app, &t) } klass = klass.superclass end end
Register or log in to add new notes.