mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-16 21:18:40 +01:00
Fix typo in groovy.html.markdown
"mthod" -> "method"
This commit is contained in:
parent
3356b2bc9f
commit
c23bbf004a
@ -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!"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user