Method: Thor::Util.globs_for
- Defined in:
- lib/vendor/thor/lib/thor/util.rb
.globs_for(path) ⇒ Object
Where to look for Thor files.
210 211 212 213 |
# File 'lib/vendor/thor/lib/thor/util.rb', line 210 def self.globs_for(path) path = escape_globs(path) ["#{path}/Thorfile", "#{path}/*.thor", "#{path}/tasks/*.thor", "#{path}/lib/tasks/*.thor"] end |