Methods

Class/Module Index [+]

Quicksearch

Fluent::OrMatchPattern

Public Class Methods

new(patterns) click to toggle source
# File lib/fluent/match.rb, line 178
def initialize(patterns)
  @patterns = patterns
end

Public Instance Methods

match(str) click to toggle source
# File lib/fluent/match.rb, line 182
def match(str)
  @patterns.any? {|pattern| pattern.match(str) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.