Method: Tablescript::NamespaceGenerator#table

Defined in:
lib/tablescript/namespace_generator.rb

#table(name, &blk) ⇒ Object



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

def table(name, &blk)
  table = Table.new(name.to_s, @scope, &blk)
  @scope.add(table)
end