Module: WithEvents::ClassMethods
- Defined in:
- lib/with_events.rb
Instance Method Summary collapse
Instance Method Details
#stream(name, options = {}, &block) ⇒ Object
12 13 14 15 16 |
# File 'lib/with_events.rb', line 12 def stream(name, = {}, &block) Stream.find_or_initialize(name, self, ) .reset_configure_all .instance_exec(&block) end |