Skip to content

Conversation

@arild-jacobsen
Copy link

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.

…lute paths". Checks whether path is absolute or relative simply by calling File.file? on the path.
@amatsuda
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants