Method: WAG::Import#table

Defined in:
lib/wag/import.rb

#table(number, type = :anyfunc, &block) ⇒ Object



32
33
34
35
36
# File 'lib/wag/import.rb', line 32

def table(number, type = :anyfunc, &block)
  @desc = Table.new(number, type)
  @desc.instance_exec(&block) if block
  @desc
end