Document horo variables in RDoc configuration

https://github.com/zzak/sdoc/blob/master/lib/rdoc/generator/template/rails/class.rhtml
This commit is contained in:
Eddie Lebow 2022-02-18 16:45:21 -05:00
parent 8cb663ee29
commit 935cc1b10c
No known key found for this signature in database
GPG Key ID: 6398DE4540F3BB49
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ module Rails
end
end
def setup_horo_variables
# These variables are used by the sdoc template
def setup_horo_variables # :nodoc:
ENV["HORO_PROJECT_NAME"] = "Ruby on Rails"
ENV["HORO_PROJECT_VERSION"] = rails_version
end