Module: Sequent::Core::Migratable::ClassMethods
- Defined in:
- lib/sequent/core/projector.rb
Instance Method Summary collapse
- #managed_tables ⇒ Object
- #manages_no_tables ⇒ Object
- #manages_no_tables? ⇒ Boolean
- #manages_tables(*tables) ⇒ Object
Instance Method Details
#managed_tables ⇒ Object
14 15 16 |
# File 'lib/sequent/core/projector.rb', line 14 def managed_tables @managed_tables || managed_tables_from_superclass end |
#manages_no_tables ⇒ Object
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
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 |