Sha256: e027cc57077de249530e08a14da714bbbf9f4d441651baed7b0913b81cb2ba2f

Contents?: true

Size: 268 Bytes

Versions: 78

Compression:

Stored size: 268 Bytes

Contents

module Arrest
  # A filter is a named predicate to limit a collection to a subset with
  # certain features
  class Filter
    attr_accessor :name
    attr_accessor :block

    def initialize name, block = nil
      @name = name
      @block = block
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
arrest-0.0.91 lib/arrest/helper/filter.rb
arrest-0.0.90 lib/arrest/helper/filter.rb
arrest-0.0.89 lib/arrest/helper/filter.rb
arrest-0.0.88 lib/arrest/helper/filter.rb
arrest-0.0.87 lib/arrest/helper/filter.rb
arrest-0.0.86 lib/arrest/helper/filter.rb
arrest-0.0.85 lib/arrest/helper/filter.rb
arrest-0.0.84 lib/arrest/helper/filter.rb
arrest-0.0.83.crud lib/arrest/helper/filter.rb
arrest-0.0.83.1 lib/arrest/helper/filter.rb
arrest-0.0.83 lib/arrest/helper/filter.rb
arrest-0.0.82 lib/arrest/helper/filter.rb
arrest-0.0.80 lib/arrest/helper/filter.rb
arrest-0.0.79 lib/arrest/helper/filter.rb
arrest-0.0.78 lib/arrest/helper/filter.rb
arrest-0.0.77 lib/arrest/helper/filter.rb
arrest-0.0.76 lib/arrest/helper/filter.rb
arrest-0.0.75 lib/arrest/helper/filter.rb
arrest-0.0.74 lib/arrest/helper/filter.rb
arrest-0.0.73 lib/arrest/helper/filter.rb