Class: Chingu::Async::BasicTask

Inherits:
Object
  • Object
show all
Defined in:
lib/chingu/async/basic_task.rb

Instance Method Summary collapse

Constructor Details

#initializeBasicTask

Returns a new instance of BasicTask



29
30
# File 'lib/chingu/async/basic_task.rb', line 29

def initialize
end

Instance Method Details

#finished?Boolean

Returns true if the task has finished executing. The meaning of “finished” is determined by the particular subclass.

Returns:

  • (Boolean)


36
37
38
# File 'lib/chingu/async/basic_task.rb', line 36

def finished?
  true
end

#update(object) ⇒ Object



40
41
# File 'lib/chingu/async/basic_task.rb', line 40

def update(object)
end