Class: Rails::API::AppTask
- Defined in:
- railties/lib/rails/api/task.rb
Constant Summary
Constants inherited from Task
Instance Method Summary collapse
Methods inherited from Task
#api_main, #configure_rdoc_files, #desc, #initialize, #load_and_configure_sdoc, #setup_horo_variables
Constructor Details
This class inherits a constructor from Rails::API::Task
Instance Method Details
#api_dir ⇒ Object
154 155 156 |
# File 'railties/lib/rails/api/task.rb', line 154 def api_dir 'doc/api' end |
#component_root_dir(gem_name) ⇒ Object
150 151 152 |
# File 'railties/lib/rails/api/task.rb', line 150 def component_root_dir(gem_name) $:.grep(%r{#{gem_name}[\w.-]*/lib\z}).first[0..-5] end |