class String

Add Rails-like html safeness awareness to strings

Public Instance Methods

html_safe() click to toggle source

Return a copy of the string marked as being html safe (ie not requiring further encoding)

# File lib/iron/web/string.rb, line 17
def html_safe
  HtmlSafeString.new(self)
end