Permalink
Browse files

type

  • Loading branch information...
1 parent 04b9a99 commit a364dddaf5cbb24ea5c2def27569ecf1cca1ebeb @dcrosby42 committed May 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
@@ -37,6 +37,7 @@ their construction or handling.
* :cache [true|false] - Enable/disable object caching in context. If false, a new instance is created for every request for an object with the given name. Default true.
* :construct [Proc|Lambda] - Anonymous function to call to provide the named object. Will be cached like any other object, subject to :cache configuration for this context.
+Eg.
context.configure_objects({
:wood => { :cache => false },
:nails => { :construct => lambda do "The nails" end},

0 comments on commit a364ddd

Please sign in to comment.