summaryrefslogtreecommitdiffhomepage
path: root/groovy.html.markdown
diff options
context:
space:
mode:
authorMichael Federczuk <federczuk.michael@protonmail.com>2020-04-17 15:52:38 +0200
committerAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-05-23 15:17:29 -0700
commitc23bbf004ae4f37f64a75c0942bf3340bcd83871 (patch)
tree005a01acc2c38467b4d920dc4b58f25116277eb3 /groovy.html.markdown
parent3356b2bc9f1bc84fed4a609d115855872c154f20 (diff)
Fix typo in groovy.html.markdown
"mthod" -> "method"
Diffstat (limited to 'groovy.html.markdown')
-rw-r--r--groovy.html.markdown2
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!"
}