module Erubi

Constants

CGI
ESCAPE_TABLE

:nocov:

FREEZE_TEMPLATE_LITERALS
MATCH_METHOD
RANGE_FIRST
RANGE_LAST
SKIP_DEFINED_FOR_INSTANCE_VARIABLE
VERSION

Public Class Methods

h(value) click to toggle source

:nocov: Escape characters with their HTML/XML equivalents.

   # File lib/erubi.rb
35 def self.h(value)
36   CGI.escapeHTML(value.to_s)
37 end