Method: Dbwatcher::Storage::QueryStorage#count_query_files
- Defined in:
- lib/dbwatcher/storage/query_storage.rb
#count_query_files ⇒ Integer
Counts the number of query files
213 214 215 216 217 |
# File 'lib/dbwatcher/storage/query_storage.rb', line 213 def count_query_files return 0 unless Dir.exist?(@queries_path) query_files.count end |