Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrosby42 committed May 1, 2012
1 parent e60db16 commit 04b9a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,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.

context.configure_objects({
:wood => { :cache => false },
:nails => { :construct => lambda do "The nails" end},
Expand Down

0 comments on commit 04b9a99

Please sign in to comment.