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
*/
// A mthod can have default values for parameters
// A method can have default values for parameters
def say(msg = 'Hello', name = 'world') {
"$msg $name!"
}