123456789_123456789_123456789_123456789_123456789_

Class: Rails::API::RepoTask

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
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

RDOC_FILES

Class Method Summary

Task - Inherited

Instance Method Summary

Task - Inherited

#api_main, #configure_rdoc_files, #configure_sdoc,
#desc

Hack, ignore the desc calls performed by the original initializer.

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 202

def api_dir
  "doc/rdoc"
end

#component_root_dir(component)

[ GitHub ]

  
# File 'railties/lib/rails/api/task.rb', line 198

def component_root_dir(component)
  component
end

#configure_sdoc

[ GitHub ]

  
# File 'railties/lib/rails/api/task.rb', line 193

def configure_sdoc
  super
  options << "-g" # link to GitHub, SDoc flag
end