Method: RuboCop::Formatter::HTMLFormatter::ERBContext#escape

Defined in:
lib/rubocop/formatter/html_formatter.rb

#escape(string) ⇒ Object



114
115
116
# File 'lib/rubocop/formatter/html_formatter.rb', line 114

def escape(string)
  CGI.escapeHTML(string)
end