mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00: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…
Reference in New Issue
Block a user