lib/ury_rapid/examples/hello_world_service.rb
# Runs the service on the EventMachine loop
#
# Since we have no EventMachine-bound connections, timers, or I/O tasks,
# this is empty.
#
# @api      public
# @example  Run the HelloWorldService.
#   service.run
#
# @return [void]
Runs the service on the EventMachine loop
Since we have no EventMachine-bound connections, timers, or I/O tasks,
this is empty.
Runs the service on the EventMachine loop Since we have no EventMachine - bound connections timers or I / O tasks this is empty .
def run
        m = @message
        environment.insert_components('/') do
          constant :message, m, :message
        end
      end
def run m = @message environment . insert_components ( '/' ) do constant :message , m , :message end end
Runs the service on the EventMachine loop
Since we have no EventMachine-bound connections, timers, or I/O tasks,
this is empty.
Runs the service on the EventMachine loop Since we have no EventMachine - bound connections timers or I / O tasks this is empty .
# #insert_components is an instance-exec, so this won't be available # as an instance variable.
None
void
api
None
example
Run the HelloWorldService. service.run
Run the HelloWorldService . service . run