123456789_123456789_123456789_123456789_123456789_

Class: Rails::API::EdgeTask

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, RepoTask, Task, RDoc::Task
Instance Chain:
self, RepoTask, Task, RDoc::Task
Inherits: Rails::API::RepoTask
Defined in: railties/lib/rails/api/task.rb

Constant Summary

Task - Inherited

RDOC_FILES

Class Method Summary

Task - Inherited

Instance Method Summary

RepoTask - Inherited

Task - Inherited

#api_main, #configure_rdoc_files, #configure_sdoc,
#desc

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

#setup_horo_variables

These variables are used by the sdoc template.

Constructor Details

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

Instance Method Details

#badge_version

[ GitHub ]

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

def badge_version
  "edge"
end

#canonical_url

[ GitHub ]

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

def canonical_url
  "https://edgeapi.rubyonrails.org"
end

#rails_version

[ GitHub ]

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

def rails_version
  "main@#{`git rev-parse HEAD`[0, 7]}"
end