Module: Component::ResourceTable::BooleanConcern

Extended by:
ActiveSupport::Concern
Included in:
Component::ResourceTable
Defined in:
app/concerns/component/resource_table/boolean_concern.rb

Instance Method Summary collapse

Instance Method Details

#boolean(name, options = {}, &block) ⇒ Object


5
6
7
8
# File 'app/concerns/component/resource_table/boolean_concern.rb', line 5

def boolean(name, options = {}, &block)
  options.reverse_merge!(render_as: :boolean)
  row(name, options, &block)
end