module TableStructure::Schema::DSL::RowBuilder
Public Instance Methods
row_builder( name, enabled_row_types: %i[array hash], &block )
click to toggle source
# File lib/table_structure/schema/dsl/row_builder.rb, line 7 def row_builder( name, enabled_row_types: %i[array hash], &block ) row_builders[name] = ::TableStructure::Utils::TypedProc.new( types: enabled_row_types, &block ) nil end
row_builders()
click to toggle source
# File lib/table_structure/schema/dsl/row_builder.rb, line 20 def row_builders @__row_builders__ ||= {} end