Skip to content

Instantly share code, notes, and snippets.

@geelen
Created August 27, 2009 01:46
Show Gist options
  • Save geelen/176015 to your computer and use it in GitHub Desktop.
Save geelen/176015 to your computer and use it in GitHub Desktop.
#RUBY
class String
def / other
self + "/" + other
end
end
#SCALA
implicit def slasher(a: String) = new {
def /(b: String) = a + "/" + b
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment