Module: Voom::Presenters::DSL::Components::Mixins::Tables

Included in:
Form, Common
Defined in:
lib/voom/presenters/dsl/components/mixins/tables.rb

Instance Method Summary collapse

Instance Method Details

#table(**attributes, &block) ⇒ Object



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/tables.rb', line 7

def table(**attributes, &block)
  self << Components::Table.new(parent: self, **attributes, &block)
end