Skip to content

Commit

Permalink
Make ActorProxy a BasicObject
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jul 24, 2012
1 parent f28f593 commit 26300b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -7,6 +7,7 @@ HEAD
* SystemEvents are no longer exceptions. Boo exceptions as flow control!
* Celluloid::Mailbox#system_event eliminated and replaced with Mailbox#<<
SystemEvents are now automatically high priority
* ActorProxy is now a BasicObject
* A bug prevented Celluloid subclasses from retaining custom mailboxes
defined by use_mailbox. This is now fixed.

Expand Down
2 changes: 1 addition & 1 deletion lib/celluloid/actor_proxy.rb
Expand Up @@ -2,7 +2,7 @@ module Celluloid
# A proxy object returned from Celluloid::Actor.spawn/spawn_link which
# dispatches calls and casts to normal Ruby objects which are running inside
# of their own threads.
class ActorProxy
class ActorProxy < BasicObject
attr_reader :mailbox, :thread

def initialize(actor)
Expand Down

2 comments on commit 26300b5

@benlangfeld
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke 9 examples...

@tarcieri
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFM? Heh

Please sign in to comment.