Is there a quick way to show the code of a method declared in the Scala Console?

Viewed 209

I frequently use the Scala console to evaluate and test code before I actually write it down in my project. If I want to know the contents of a variable, I can just enter it and scala evaluates it. But is there also a way to show the code of methods I entered?

I know there's the UP-key to show single lines, but what I was searching for is to show the whole code at once.

2 Answers
Related