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


185
186
187
# File 'railties/lib/rails/api/task.rb', line 185

def api_dir
  "doc/rdoc"
end

#component_root_dir(component) ⇒ Object


181
182
183
# File 'railties/lib/rails/api/task.rb', line 181

def component_root_dir(component)
  component
end

#configure_sdocObject


176
177
178
179
# File 'railties/lib/rails/api/task.rb', line 176

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