Sha256: 672d84ba3daa01cf4e1bae1e4ddfcd486d67d691e366f9168757a5eaa923ecfe

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

# encoding: utf-8

class ERB
  module Util
    def html_escape(s)
      EscapeUtils.escape_html(s)
    end

    alias h html_escape
    module_function :h
    module_function :html_escape
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
escape_utils-0.1.3 lib/escape_utils/html/erb.rb
escape_utils-0.1.2 lib/escape_utils/html/erb.rb
escape_utils-0.1.1 lib/escape_utils/erb.rb
escape_utils-0.1.0 lib/escape_utils/erb.rb