Method: WithModel#with_table

Defined in:
lib/with_model.rb

#with_table(name, scope: nil, **options, &block) ⇒ Object

Parameters:



52
53
54
55
56
57
# File 'lib/with_model.rb', line 52

def with_table(name, scope: nil, **options, &block)
  runner = options.delete(:runner)
  table = Table.new name, options, &block

  setup_object(table, scope: scope, runner: runner)
end