diff options
Diffstat (limited to 'groovy.html.markdown')
-rw-r--r-- | groovy.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/groovy.html.markdown b/groovy.html.markdown index 89ca973a..0d589c10 100644 --- a/groovy.html.markdown +++ b/groovy.html.markdown @@ -184,7 +184,7 @@ class Foo { Methods with optional parameters */ -// A mthod can have default values for parameters +// A method can have default values for parameters def say(msg = 'Hello', name = 'world') { "$msg $name!" } |