class Glob
Public Instance Methods
fuzzified()
click to toggle source
# File lib/models/files/glob.rb, line 4 def fuzzified return fuzzy_dir, fuzzy_name end
Private Instance Methods
fuzzy_dir()
click to toggle source
# File lib/models/files/glob.rb, line 10 def fuzzy_dir return nil if no_dir? return @dirname.gsub(File::SEPARATOR, '.*') end
fuzzy_name()
click to toggle source
# File lib/models/files/glob.rb, line 15 def fuzzy_name return "#{name}.*" if extname.empty? return filename end