lib/celluloid.rb in celluloid-0.13.0.pre2 vs lib/celluloid.rb in celluloid-0.13.0
- old
+ new
@@ -230,11 +230,11 @@
{
:mailbox => mailbox_class.new,
:proxy_class => proxy_class,
:task_class => task_class,
:exit_handler => exit_handler,
- :exclusive_methods => @exclusive_methods
+ :exclusive_methods => defined?(@exclusive_methods) ? @exclusive_methods : nil
}
end
def ===(other)
other.kind_of? self
@@ -480,6 +480,6 @@
require 'celluloid/legacy' unless defined?(CELLULOID_FUTURE)
# Configure default systemwide settings
Celluloid.task_class = Celluloid::TaskFiber
Celluloid.logger = Logger.new(STDERR)
-Celluloid.shutdown_timeout = 10
\ No newline at end of file
+Celluloid.shutdown_timeout = 10