Skip to content

Instantly share code, notes, and snippets.

@jschementi
Created April 12, 2009 02:07
Show Gist options
  • Select an option

  • Save jschementi/93827 to your computer and use it in GitHub Desktop.

Select an option

Save jschementi/93827 to your computer and use it in GitHub Desktop.
File.dirname("c:/")
# IronRuby => "."
# Ruby => "c:/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment