Sha256: ccfae74b52fde9f4141c3c7f0b24e2a84e5d817e267c72a6593b673f06487a6b

Contents?: true

Size: 268 Bytes

Versions: 51

Compression:

Stored size: 268 Bytes

Contents

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

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

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rao-component-0.0.32.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.31.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.30.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.29.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.28.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.27.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.26.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.25.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.24.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.23.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.22.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.21.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.20.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.19.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.18.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.17.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.16.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.15.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.14.pre app/concerns/rao/component/resource_table/boolean_concern.rb
rao-component-0.0.13.pre app/concerns/rao/component/resource_table/boolean_concern.rb