Sha256: ae46c4d2c0ccdf899ba6cc68adaa9ead9a13ef51422b0794f203aabe99727853

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

# encoding: utf-8

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

    alias h html_escape
    module_function :h
    module_function :html_escape
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
escape_utils-0.1.4 lib/escape_utils/html/erb.rb