Skip to Content Skip to Search

class Rails::API::StableTask

Inherits From

Public instance methods

Source code GitHub
# File railties/lib/rails/api/task.rb, line 226
def badge_version
  "v#{rails_version}"
end
Source code GitHub
# File railties/lib/rails/api/task.rb, line 230
def canonical_url
  "https://api.rubyonrails.org/#{badge_version}"
end
Source code GitHub
# File railties/lib/rails/api/task.rb, line 222
def rails_version
  File.read("RAILS_VERSION").strip
end

Definition files