Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: this might have been 'container' as opposed to 'contain'

...

This is not the only technique however. For example in a servlet contain container you may store the values in the currently executing request as request attributes (as is done in some cases in Grails).

...

Code Block
Book.metaClass.author = "Stephen King"

def b = new Book("The Stand")

assert "Stephen King" == b.author

...