Module: FastIgnore::PathExpander
- Defined in:
- lib/fast_ignore/path_expander.rb
Class Method Summary collapse
Class Method Details
.expand_path(path, dir) ⇒ Object
5 6 7 8 9 |
# File 'lib/fast_ignore/path_expander.rb', line 5 def self.(path, dir) ::File.(path, dir) rescue ::ArgumentError ::File.("./#{path}", dir) end |