class String

Public Instance Methods

html() click to toggle source
# File lib/knj/web.rb, line 898
def html
  return Knj::Web.html(self)
end
sql() click to toggle source
# File lib/knj/web.rb, line 902
def sql
  begin
    return _db.escape(self)
  rescue NameError
    #ignore - not i KnjAppServer HTTP-session.
  end

  raise "Could not figure out where to find db object."
end