Module: Sequent::Core::Migratable::ClassMethods

Defined in:
lib/sequent/core/projector.rb

Instance Method Summary collapse

Instance Method Details

#managed_tablesObject



14
15
16
# File 'lib/sequent/core/projector.rb', line 14

def managed_tables
  @managed_tables || managed_tables_from_superclass
end

#manages_no_tablesObject



18
19
20
21
# File 'lib/sequent/core/projector.rb', line 18

def manages_no_tables
  @manages_no_tables = true
  manages_tables
end

#manages_no_tables?Boolean

Returns:



23
24
25
# File 'lib/sequent/core/projector.rb', line 23

def manages_no_tables?
  !!@manages_no_tables || manages_no_tables_from_superclass?
end

#manages_tables(*tables) ⇒ Object



10
11
12
# File 'lib/sequent/core/projector.rb', line 10

def manages_tables(*tables)
  @managed_tables = tables
end