Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
dsl
/
DelegateToArgument2.groovy
blob: 6b96ba06c15353bc8e336248fece0485e1a52e30 [
file
] [
log
] [
blame
]
class
MyDelegate
{
def
saySomething
(
String
str
)
{
println str
}
}
class
Runner
{
def
boo
(
c
,
Closure
cl
)
{
}
}
def
runner
=
new
Runner
()
runner
.
boo
new
MyDelegate
(),
{
say
<caret>
}