Class: Hoss::Config::WildcardPatternList Private
- Inherits:
-
Object
- Object
- Hoss::Config::WildcardPatternList
- Defined in:
- lib/hoss/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.
48 49 50 51 |
# File 'lib/hoss/config/wildcard_pattern_list.rb', line 48 def call(value) value = value.is_a?(String) ? value.split(',') : Array(value) value.map(&WildcardPattern.method(:new)) end |