module Erubi

Constants

CGI
ESCAPE_TABLE
FREEZE_TEMPLATE_LITERALS
MATCH_METHOD
RANGE_FIRST
RANGE_LAST
SKIP_DEFINED_FOR_INSTANCE_VARIABLE
VERSION

Public Class Methods

h(value) click to toggle source

Escape characters with their HTML/XML equivalents.

   # File lib/erubi.rb
32 def h(value)
33   CGI.escapeHTML(value.to_s)
34 end

Private Instance Methods

h(value) click to toggle source

Escape characters with their HTML/XML equivalents.

   # File lib/erubi.rb
32 def h(value)
33   CGI.escapeHTML(value.to_s)
34 end