Module: Celluloid::TestingClassMethods

Defined in:
lib/testing-celluloid.rb

Instance Method Summary collapse

Instance Method Details

#new_raw_object(*args, &block) ⇒ Object



3
4
5
6
7
# File 'lib/testing-celluloid.rb', line 3

def new_raw_object(*args, &block)
  actor = allocate
  actor.send(:initialize, *args, &block)
  actor
end