Method: Flok::Service#on_wakeup

Defined in:
lib/flok/services_compiler.rb

#on_wakeup(str) ⇒ Object



117
118
119
120
121
# File 'lib/flok/services_compiler.rb', line 117

def on_wakeup(str) 
  render = ERB.new(str)
  str = render.result(binding)
  @_on_wakeup  = macro(str)
end