module Erubi

Constants

CGI
ESCAPE_TABLE

:nocov:

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
28 def self.h(value)
29   CGI.escapeHTML(value.to_s)
30 end