Skip to content

Instantly share code, notes, and snippets.

@denisdefreyne
Created May 18, 2022 09:36
Show Gist options
  • Save denisdefreyne/047f5d3942990e7df9e0cdc5ba744c98 to your computer and use it in GitHub Desktop.
Save denisdefreyne/047f5d3942990e7df9e0cdc5ba744c98 to your computer and use it in GitHub Desktop.
path = Path.new("usr", "bin", "ruby")
path.string == "/usr/bin/ruby" # => true
path == "/usr/bin/ruby" # => false :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment