Skip to content

Commit

Permalink
Factored out the annoying message detection method
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMikeSimon committed Sep 17, 2011
1 parent b5f8e67 commit bfa49da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shutup_sqlite.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ShutupSqlite
def annoying_query?(sql)
def self.annoying_query?(sql)
# Aaaaargh, I hate these log entries SO MUCH
sql.match(/^\s*SELECT\s+name\s+FROM\s+sqlite_master\s+/)
end
Expand Down

0 comments on commit bfa49da

Please sign in to comment.