Method: Needle::Container#defaults
- Defined in:
- lib/needle/container.rb
#defaults ⇒ Object (readonly)
A hash of default options to use when registering services. These defaults also apply to namespaces, so when specifying a new default service model (for instance) there may be unexpected side-effects with the namespaces that are created.
43 44 45 |
# File 'lib/needle/container.rb', line 43 def defaults @defaults end |