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
19 20 21 22 23 24 25 |
# File 'lib/fluent/match.rb', line 19 def self.create(str) if str == '**' AllMatchPattern.new else GlobMatchPattern.new(str) end end |