File: TODO

package info (click to toggle)
libneedle-ruby 1.3.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 2,096 kB
  • ctags: 894
  • sloc: ruby: 4,550; makefile: 52
file content (13 lines) | stat: -rw-r--r-- 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Allow services and namespaces to be unregistered
Make loading cheaper by separating load dependencies

==============================================================================
FEATURE IDEAS FOR VERSION 2.0
(the following features must wait until 2.0+ due to incompatible API changes)
==============================================================================

Instead of having the blocks take two parameters (c and p), accept a single parameter (context) that encapsulates both c and p:

  registry.register( :foo, :model => :multiton ) do |ctx,name|
    Printer.new( ctx[:log, ctx.point], name )
  end