Skip to content

Instantly share code, notes, and snippets.

@rssh
Created September 16, 2014 04:52
Show Gist options
  • Save rssh/fadc2e2a8fc35745c571 to your computer and use it in GitHub Desktop.
Save rssh/fadc2e2a8fc35745c571 to your computer and use it in GitHub Desktop.
jdv_article11 (overriding toString in trait)
trait MyToString
{
override def toString = s”[${super.toString}]”
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment