Module: Outrigger

Defined in:
lib/outrigger.rb,
lib/outrigger/railtie.rb,
lib/outrigger/version.rb,
lib/outrigger/taggable.rb,
lib/outrigger/taggable_proxy.rb

Defined Under Namespace

Modules: Taggable, TaggableProxy Classes: Railtie

Constant Summary collapse

VERSION =
'2.1.0'.freeze

Class Method Summary collapse

Class Method Details

.filter(*tags) ⇒ Object



9
10
11
12
# File 'lib/outrigger.rb', line 9

def self.filter(*tags)
  tags = tags.flatten.map(&:to_sym)
  proc { |migration| (tags - migration.tags).empty? }
end