class Druzy::MVC::ModelWithResult
Attributes
result[RW]
stopped_thread[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
Druzy::MVC::Model::new
# File lib/druzy/mvc/mvc_with_result.rb, line 25 def initialize super() @result = nil @stopped_thread = nil end
Public Instance Methods
result=(result)
click to toggle source
# File lib/druzy/mvc/mvc_with_result.rb, line 32 def result=(result) @result = result if @stopped_thread != nil @stopped_thread.wakeup end end