Skip to content

Instantly share code, notes, and snippets.

@mcfunley
Created May 20, 2010 19:03
Show Gist options
  • Save mcfunley/407946 to your computer and use it in GitHub Desktop.
Save mcfunley/407946 to your computer and use it in GitHub Desktop.
/**
* This method enables syntax such as the following:
*
* <pre>
* string should be theSameInstanceAs anotherObject
* ^
* </pre>
*/
def should(beWord: BeWord): ResultOfBeWordForAnyRef[String] = new ResultOfBeWordForAnyRef(left, true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment