Class: Rails::API::RepoTask

Inherits:
Task show all
Defined in:
railties/lib/rails/api/task.rb

Direct Known Subclasses

EdgeTask, StableTask

Constant Summary

Constants inherited from Task

Task::RDOC_FILES

Instance Method Summary collapse

Methods inherited from Task

#api_main, #configure_rdoc_files, #desc, #initialize, #setup_horo_variables

Constructor Details

This class inherits a constructor from Rails::API::Task

Instance Method Details

#api_dirObject



200
201
202
# File 'railties/lib/rails/api/task.rb', line 200

def api_dir
  "doc/rdoc"
end

#component_root_dir(component) ⇒ Object



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

def component_root_dir(component)
  component
end

#configure_sdocObject



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

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