Class: MockActor

Inherits:
Object
  • Object
show all
Defined in:
lib/celluloid/rspec/task_examples.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMockActor

Returns a new instance of MockActor.


4
5
6
# File 'lib/celluloid/rspec/task_examples.rb', line 4

def initialize
  @tasks = []
end

Instance Attribute Details

#tasksObject (readonly)

Returns the value of attribute tasks


2
3
4
# File 'lib/celluloid/rspec/task_examples.rb', line 2

def tasks
  @tasks
end

Instance Method Details

#setup_threadObject


8
9
# File 'lib/celluloid/rspec/task_examples.rb', line 8

def setup_thread
end