org.spockframework.builder
Class ClosureBlueprint

java.lang.Object
  extended by org.spockframework.builder.ClosureBlueprint
All Implemented Interfaces:
IBlueprint

public class ClosureBlueprint
extends Object
implements IBlueprint


Constructor Summary
ClosureBlueprint(Closure closure, Object subject)
           
 
Method Summary
 void evaluate()
           
 void setDelegate(Object delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureBlueprint

public ClosureBlueprint(Closure closure,
                        Object subject)
Method Detail

setDelegate

public void setDelegate(Object delegate)
Specified by:
setDelegate in interface IBlueprint

evaluate

public void evaluate()
Specified by:
evaluate in interface IBlueprint


Copyright © 2010. All Rights Reserved.