6 7 8 9
# File 'lib/sqlstmt/core_to_sql.rb', line 6 def to_sql str = gsub('\\', '\\\\').gsub('\'', '\\\'').gsub("'", "\\'") "'#{str}'" end