-
Notifications
You must be signed in to change notification settings - Fork 57
gorillib heavy
Philip (flip) Kromer edited this page May 9, 2012
·
1 revision
These are standard patterns we should
Watchable -- A simple event/notification mixin
Want a standard pathway for emitting events and
- Logging should become structured
- It should easily tie in to channel delivery
To Log
#debug #info #warn #error
To $stdout
#banner "## Text ...####"
#section h2
#step ul
#separator hr
#say plain output
#link_to
#raw
:em, :strong, :{color}, :code
- default values
- on event
reg[name]
reg[name]=
reg.delete(name)
reg.has_key?(name)
reg.create(name)
reg.fetch(name)
reg.keys
reg.all