123456789_123456789_123456789_123456789_123456789_

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

RDOC_FILES

Class Method Summary

Task - Inherited

Instance Method Summary

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

#rails_version

[ GitHub ]

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

def rails_version
  Rails::VERSION::STRING
end