Sha256: e71159e41e65c8cb021e1a4996ea5ee132f37cb8e4e050d98aa36f81ebea5ec1
Contents?: true
Size: 259 Bytes
Versions: 12
Compression:
Stored size: 259 Bytes
Contents
class Object def html_safe? false end end class String class HtmlString < String def html_safe? true end def html_safe self end def to_s self end end def html_safe HtmlString.new(self) end end
Version data entries
12 entries across 12 versions & 1 rubygems