class method
self.new
Ruby on Rails 7.2.3
Since v4.0.13Signature
self.new(name)
No documentation comment.
Parameters
-
namereq
Source
# File railties/lib/rails/api/task.rb, line 119
def initialize(name)
super
# Every time rake runs this task is instantiated as all the rest.
# Be lazy computing stuff to have as light impact as possible to
# the rest of tasks.
before_running_rdoc do
configure_sdoc
configure_rdoc_files
setup_horo_variables
end
end
Defined in railties/lib/rails/api/task.rb line 119
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::API::Task