Sha256: 6331966865b31890331bcc83593f10f20307a8372af4fd354527d182a6a79cfe

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rao-component-0.0.52.pre app/concerns/rao/component/collection_table/money_concern.rb
rao-component-0.0.51.pre app/concerns/rao/component/collection_table/money_concern.rb
rao-component-0.0.50.pre app/concerns/rao/component/collection_table/money_concern.rb