Sha256: 40ca1bdd84fb9efaa86b04f9f2e1031855f1bf3bc0f0d2db77aa706ab3383f1b

Contents?: true

Size: 273 Bytes

Versions: 51

Compression:

Stored size: 273 Bytes

Contents

module Rao
  module Component
    module CollectionTable::BooleanConcern
      extend ActiveSupport::Concern

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

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rao-component-0.0.12.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.11.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.10.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.9.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.8.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.7.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.6.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.5.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.4.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.3.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.2.pre app/concerns/rao/component/collection_table/boolean_concern.rb