Module: Stella::Engine::Base

Extended by:
Base
Included in:
Base, Functional, Load
Defined in:
lib/stella/engine.rb

Instance Method Summary collapse

Instance Method Details

#runObject



27
# File 'lib/stella/engine.rb', line 27

def run; raise; end

#update(*args) ⇒ Object



17
18
19
20
21
22
23
24
25
# File 'lib/stella/engine.rb', line 17

def update(*args)
  what, *args = args
  if respond_to?("update_#{what}")
    Stella.ld "OBSERVER UPDATE: #{what}"
    Stella.rescue { self.send("update_#{what}", *args) }
  else
    Stella.ld "NO UPDATE HANDLER FOR: #{what}" 
  end
end

#update_error_execute_response_handler(*args) ⇒ Object



33
# File 'lib/stella/engine.rb', line 33

def update_error_execute_response_handler(*args) raise end

#update_execute_response_handler(*args) ⇒ Object



32
# File 'lib/stella/engine.rb', line 32

def update_execute_response_handler(*args) raise end

#update_prepare_request(*args) ⇒ Object



29
# File 'lib/stella/engine.rb', line 29

def update_prepare_request(*args) raise end

#update_receive_response(*args) ⇒ Object



31
# File 'lib/stella/engine.rb', line 31

def update_receive_response(*args) raise end

#update_request_error(*args) ⇒ Object



34
# File 'lib/stella/engine.rb', line 34

def update_request_error(*args) raise end

#update_send_request(*args) ⇒ Object



30
# File 'lib/stella/engine.rb', line 30

def update_send_request(*args) raise end