From c23bbf004ae4f37f64a75c0942bf3340bcd83871 Mon Sep 17 00:00:00 2001 From: Michael Federczuk Date: Fri, 17 Apr 2020 15:52:38 +0200 Subject: Fix typo in groovy.html.markdown "mthod" -> "method" --- groovy.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'groovy.html.markdown') 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!" } -- cgit v1.2.3