44 45 46 47 48 49 50
# File 'lib/xmigra.rb', line 44 def glob(rel_path, *args, &block) if block_given? Pathname.glob(self + rel_path, *args) {|p| yield self + p} else Pathname.glob(self + rel_path, *args).map {|p| self + p} end end