Class: Rails::API::AppTask
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Task,
RDoc::Task
|
|
Instance Chain:
self,
Task,
RDoc::Task
|
|
Inherits: |
Rails::API::Task
|
Defined in: | railties/lib/rails/api/task.rb |
Constant Summary
Task - Inherited
Class Method Summary
Instance Method Summary
Task - Inherited
#api_main, #configure_rdoc_files, | |
#desc | Hack, ignore the desc calls performed by the original initializer. |
#load_and_configure_sdoc, #setup_horo_variables |
Constructor Details
This class inherits a constructor from Rails::API::Task
Instance Method Details
#api_dir
[ GitHub ]# File 'railties/lib/rails/api/task.rb', line 161
def api_dir 'doc/api' end
#component_root_dir(gem_name)
[ GitHub ]# File 'railties/lib/rails/api/task.rb', line 157
def component_root_dir(gem_name) $:.grep(%r{#{gem_name}[\w.-]*/lib\z}).first[0..-5] end