Method: Fast.replace_sql_file

Defined in:
lib/fast/sql.rb

.replace_sql_file(pattern, file, &replacement) ⇒ Object

Returns string with the sql content updated in case the pattern matches.

Returns:

  • string with the sql content updated in case the pattern matches.



30
31
32
# File 'lib/fast/sql.rb', line 30

def replace_sql_file(pattern, file, &replacement)
  SQL.replace_file(pattern, file, &replacement)
end