class Trenni::MarkupString
def initialize(string = nil, escape = true)
-
escape
(Boolean
) -- whether or not to escape the string. -
string
(String
) -- the string value itself.
def initialize(string = nil, escape = true) if string if escape string = Markup.escape_string(string) end super(string) else super() end end