Module: Outrigger

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

Defined Under Namespace

Modules: Migrator, Taggable, TaggableProxy Classes: Railtie

Constant Summary collapse

VERSION =
'3.0.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.orderedObject

Returns the value of attribute ordered.



13
14
15
# File 'lib/outrigger.rb', line 13

def ordered
  @ordered
end

Class Method Details

.filter(*tags) ⇒ Object



15
16
17
18
# File 'lib/outrigger.rb', line 15

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