跳至内容 跳至搜索
方法
B
C
R

实例公共方法

badge_version()

# File railties/lib/rails/api/task.rb, line 212
def badge_version
  "edge"
end

canonical_url()

# File railties/lib/rails/api/task.rb, line 216
def canonical_url
  "https://api.rubyonrails.net.cn"
end

rails_version()

# File railties/lib/rails/api/task.rb, line 208
def rails_version
  "main@#{`git rev-parse HEAD`[0, 7]}"
end