Skip to content

Commit 332e200

Browse files
committed
[DOC] Suppress documentation for internals
1 parent 50a5cd7 commit 332e200

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: bundle exec rake test
3434
- name: RDoc coverage
3535
run: |
36-
rdoc -C .
36+
rdoc -C --visibility=private .

lib/erb/compiler.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ def initialize from
480480
end
481481
}.new(caller(0)).c
482482
private_constant :WARNING_UPLEVEL
483-
# :startdoc:
484483

485484
def warn_invalid_trim_mode(mode, uplevel:)
486485
warn "Invalid ERB trim mode: #{mode.inspect} (trim_mode: nil, 0, 1, 2, or String composed of '%' and/or '-', '>', '<>')", uplevel: uplevel + WARNING_UPLEVEL

lib/erb/util.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# A subset of ERB::Util. Unlike ERB::Util#html_escape, we expect/hope
2020
# Rails will not monkey-patch ERB::Escape#html_escape.
2121
module ERB::Escape
22+
# :stopdoc:
2223
def html_escape(s)
2324
CGI.escapeHTML(s.to_s)
2425
end

0 commit comments

Comments
 (0)