class Druzy::MVC::ControllerWithResult
Public Class Methods
new(model)
click to toggle source
Calls superclass method
Druzy::MVC::Controller::new
# File lib/druzy/mvc/mvc_with_result.rb, line 8 def initialize(model) super(model) end
Public Instance Methods
result()
click to toggle source
# File lib/druzy/mvc/mvc_with_result.rb, line 12 def result if @model.result == nil @model.stopped_thread=Thread.current Thread.stop end return @model.result end