Skip to content

Instantly share code, notes, and snippets.

@cschneid
Created October 29, 2013 16:53
Show Gist options
  • Save cschneid/15348453f6dac64872b2 to your computer and use it in GitHub Desktop.
Save cschneid/15348453f6dac64872b2 to your computer and use it in GitHub Desktop.
1.9.3p392 :064 > p = Pathname.new("/etc")
=> #<Pathname:/etc>
1.9.3p392 :065 > p2 = Pathname.new(p)
=> #<Pathname:/etc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment