Skip to content

Instantly share code, notes, and snippets.

@hawkw
Created December 23, 2014 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkw/e31c497ce5bc9ff68f45 to your computer and use it in GitHub Desktop.
Save hawkw/e31c497ce5bc9ff68f45 to your computer and use it in GitHub Desktop.
My one-liner addiction has gone too far.
override def toString = "ResourceManager" + (for { d <- directories } yield { d.physicalPath.split(File.separatorChar).last }).toString.replace("ArrayBuffer", "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment