Skip to content

Commit 15a2ff1

Browse files
Merge pull request rails#44483 from Cofense/api-doc-generator-document-horo-variables
Document horo variables in RDoc configuration [ci-skip]
2 parents 8cb663e + 935cc1b commit 15a2ff1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

railties/lib/rails/api/task.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ def configure_rdoc_files
162162
end
163163
end
164164

165-
def setup_horo_variables
165+
# These variables are used by the sdoc template
166+
def setup_horo_variables # :nodoc:
166167
ENV["HORO_PROJECT_NAME"] = "Ruby on Rails"
167168
ENV["HORO_PROJECT_VERSION"] = rails_version
168169
end

0 commit comments

Comments
 (0)