wrong icon indicating copy to clipboard operation
wrong copied to clipboard

Fix for Issue 16 "Wrong::Config.read_here_or_higher can't handle absolute paths"

Open arild-jacobsen opened this issue 12 years ago • 1 comments

I'm not the most experienced Rubyist, but I've been enjoying using Wrong, and thought I'd have a go at fixing this issue since most of my hobbyprogramming is done on windows.

My approach is simply to check whether a path is absolute or relative by calling File.file? on it.

arild-jacobsen avatar Mar 10 '13 19:03 arild-jacobsen

Why not just File.expand_path(file, dir) ?

amatsuda avatar Jul 23 '14 21:07 amatsuda