Class: Atatus::Config::WildcardPatternList Private
- Inherits:
-
Object
- Object
- Atatus::Config::WildcardPatternList
- Defined in:
- lib/atatus/config/wildcard_pattern_list.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: WildcardPattern
Instance Method Summary collapse
- #call(value) ⇒ Object private
Instance Method Details
#call(value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 61 62 63 |
# File 'lib/atatus/config/wildcard_pattern_list.rb', line 60 def call(value) value = value.is_a?(String) ? value.split(',') : Array(value) value.map { |p| WildcardPattern.new(p) } end |