Sha256: 79f922d0580643a8acd8b2079ae7d888ff4bd280f0ec9f6143f78c48d7dc03ac
Contents?: true
Size: 544 Bytes
Versions: 6
Compression:
Stored size: 544 Bytes
Contents
module Dyna module Filterable def should_skip(table_name) if @options.table_names unless @options.table_names.include?(table_name) log(:debug, "skip table(with tables_names option) #{table_name}") return true end end if @options.exclude_table_names if @options.exclude_table_names.any? {|regex| table_name =~ regex} log(:debug, "skip table(with exclude_tables_names option) #{table_name}") return true end end false end end end
Version data entries
6 entries across 6 versions & 1 rubygems