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.52.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.51.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.50.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.49.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.48.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.47.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.46.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.45.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.44.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.43.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.42.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.41.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.40.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.39.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.38.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.37.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.36.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.35.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.34.pre app/concerns/rao/component/collection_table/boolean_concern.rb
rao-component-0.0.33.pre app/concerns/rao/component/collection_table/boolean_concern.rb