Class: SqlMunger::Quoter::DefaultQuoter

Inherits:
Object
  • Object
show all
Includes:
IdentifierQuoter, ValueQuoter
Defined in:
lib/sql_munger/quoter.rb

Instance Method Summary collapse

Methods included from IdentifierQuoter

#quote_ident

Methods included from ValueQuoter

#quote

Instance Method Details

#escape(st) ⇒ Object



10
11
12
# File 'lib/sql_munger/quoter.rb', line 10

def escape( st )
  st.gsub( "'", "\\'" )
end