Class: SqlFootprint::SqlFilter
- Inherits:
-
Object
- Object
- SqlFootprint::SqlFilter
- Defined in:
- lib/sql_footprint/sql_filter.rb
Constant Summary collapse
- EXCLUDE_REGEXS =
[ /\ASHOW\s/ ].freeze
Instance Method Summary collapse
Instance Method Details
#capture?(sql) ⇒ Boolean
7 8 9 |
# File 'lib/sql_footprint/sql_filter.rb', line 7 def capture? sql EXCLUDE_REGEXS.none? { |regex| regex =~ sql } end |