Class: Fluent::MatchPattern
- Inherits:
-
Object
- Object
- Fluent::MatchPattern
- Defined in:
- lib/fluent/match.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.create(str) ⇒ Object
55 56 57 58 59 60 61 |
# File 'lib/fluent/match.rb', line 55 def self.create(str) if str == '**' AllMatchPattern.new else GlobMatchPattern.new(str) end end |