Method: Milkode::FindGrep#convert_path

Defined in:
lib/milkode/grep/findgrep.rb

#convert_path(path) ⇒ Object



446
447
448
449
450
451
452
# File 'lib/milkode/grep/findgrep.rb', line 446

def convert_path(path)
 unless @option.expand_path
   Milkode::Util.relative_path(path, Dir.pwd).to_s
 else
   path
 end
end