Sha256: 521db69e2a88921bb817e6bb9203dba270f9edac226ca19c82bd97b81443cbfd

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

module Tableficate
  module Filter
    class CollectionBase < Base
      attr_reader :collection

      def initialize(table, name, options = {})
        @collection = options.delete(:collection) || []

        super(table, name, options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tableficate-0.3.2 lib/tableficate/filters/collection_base.rb
tableficate-0.3.1 lib/tableficate/filters/collection_base.rb
tableficate-0.3.0 lib/tableficate/filters/collection_base.rb