class BBB::Application

Public Instance Methods

run() click to toggle source

The run funciton gets called as part of the run loop on every iteration. This is where you put your main application code that needs to be evaluaded.

# File lib/BBB/application.rb, line 21
def run
  raise NotImplementedError
end
start() click to toggle source

Start the application by activating the components and load the run loop.

# File lib/BBB/application.rb, line 10
def start
  loop do
    run
  end
end