Sha256: 5668a326a8d1e57db5c7679588e564fb38e309c651c194c066b7c48f29170418

Contents?: true

Size: 218 Bytes

Versions: 12

Compression:

Stored size: 218 Bytes

Contents

module Hieracles
  module Puppetdb
    class Filter

      def initialize(regexp)
        @regexp = Regexp.new(regexp)
      end

      def match(something)
        @regexp.match something
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hieracles-0.4.2 lib/hieracles/puppetdb/filter.rb
hieracles-0.4.1 lib/hieracles/puppetdb/filter.rb
hieracles-0.4.0 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.6 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.5 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.4 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.3 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.2 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.1 lib/hieracles/puppetdb/filter.rb
hieracles-0.3.0 lib/hieracles/puppetdb/filter.rb
hieracles-0.2.2 lib/hieracles/puppetdb/filter.rb
hieracles-0.2.1 lib/hieracles/puppetdb/filter.rb