1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 20:40:42 +02:00

Fix typo in groovy.html.markdown

"mthod" -> "method"
This commit is contained in:
Michael Federczuk
2020-04-17 15:52:38 +02:00
committed by Andrew Ryan Davis
parent 3356b2bc9f
commit c23bbf004a

View File

@@ -184,7 +184,7 @@ class Foo {
Methods with optional parameters 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') { def say(msg = 'Hello', name = 'world') {
"$msg $name!" "$msg $name!"
} }