Skip to content

Commit ea647f5

Browse files
nobumatzbot
authored andcommitted
[ruby/erb] [DOC] Suppress documentation for internals
ruby/erb@332e200060
1 parent 309b6ca commit ea647f5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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)