Class: Amrita::SanitizedString

Class Amrita::SanitizedString |
In: | lib/amrita/format.rb
Parent: | String

this is a String that amrita dosen't sanitize. If you don't sanitize or sanitize yourself, pass SanitizedString.new(x) as model data.

Methods

[] amrita_sanitize amrita_sanitize_as_attribute amrita_sanitize_as_url to_s

Public Class methods

[](s)

    # File lib/amrita/format.rb, line 109
        def SanitizedString::[](s)
          new(s)
        end

Public Instance methods

amrita_sanitize()

    # File lib/amrita/format.rb, line 113
        def amrita_sanitize
          self
        end

amrita_sanitize_as_attribute()

    # File lib/amrita/format.rb, line 117
        def amrita_sanitize_as_attribute
          self
        end

amrita_sanitize_as_url()

    # File lib/amrita/format.rb, line 121
        def amrita_sanitize_as_url
          self
        end

to_s()

    # File lib/amrita/format.rb, line 125
        def to_s
          self
        end