Skip to content

Instantly share code, notes, and snippets.

@pointcom
Created January 3, 2018 21:17
Show Gist options
  • Save pointcom/a8a8eb1e393c453aaa5b1ebe14bdc3e4 to your computer and use it in GitHub Desktop.
Save pointcom/a8a8eb1e393c453aaa5b1ebe14bdc3e4 to your computer and use it in GitHub Desktop.
Ruby 2.5
Dir.glob("*", base: "/lib")
=> ["x86_64-linux-gnu", "cpp", "init", "terminfo", "systemd", "lsb", "udev"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment