Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
...
    def factory = [instance: myObj]
/// where myObj is the object we want the factory to rt
...

Here, myObj is the object we want the factory to return.

...