class Hieracles::Puppetdb::Filter

Public Class Methods

new(regexp) click to toggle source
# File lib/hieracles/puppetdb/filter.rb, line 5
def initialize(regexp)
  @regexp = Regexp.new(regexp)
end

Public Instance Methods

match(something) click to toggle source
# File lib/hieracles/puppetdb/filter.rb, line 9
def match(something)
  @regexp.match something
end