Class: AhoyCaptain::Tables::DynamicTable

Inherits:
Object
  • Object
show all
Defined in:
app/components/ahoy_captain/tables/dynamic_table.rb

Class Method Summary collapse

Class Method Details

.register(options = {}, &block) ⇒ Object



4
5
6
# File 'app/components/ahoy_captain/tables/dynamic_table.rb', line 4

def self.register(options = {}, &block)
  @table ||= DynamicTableComponent.build(self, options, &block)
end

.tableObject



8
9
10
# File 'app/components/ahoy_captain/tables/dynamic_table.rb', line 8

def self.table
  @table
end