Sha256: 8ff0db1d00ed7f3829dd5698530a493d517dbe49736bf5b06eaabd665009ca19

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

Creating a registry is as simple as calling @Needle::Registry.new@. This will give you a new registry object, bootstrapped to contain a few general services.

<pre>
  require 'needle'

  registry = Needle::Registry.new
</pre>

Once you have the reference to the registry, you can register services with it, create new namespaces in it, and so forth.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
needle-0.5.0 doc/manual/parts/02_creating.txt