Method: Bolt::Config#matching_paths
- Defined in:
- lib/bolt/config.rb
#matching_paths(paths) ⇒ Object
482 483 484 |
# File 'lib/bolt/config.rb', line 482 def matching_paths(paths) Array(paths).map { |p| Dir.glob([p, casefold(p)]) }.flatten.uniq.reject { |p| Array(paths).include?(p) } end |