Commit 386200f5 authored by Muhammad Tehami's avatar Muhammad Tehami 💡

hsbvhfs

parent dab07e25
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
def call(body) { def call(body) {
def config = [:] def config = [:]
println "Before: ${config.name}" println "Before: ${config.name}"
body.resolveStrategy = Closure.DELEGATE_FIRST // body.resolveStrategy = Closure.DELEGATE_FIRST
// body.delegate = config body.delegate = config
println body() println body()
println "After: ${config.name}" println "After: ${config.name}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment