Skip to content

Commit c76c050

Browse files
committed
Removed unimplemented methods from ActorRef.
1 parent 1c9e37a commit c76c050

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

lib/concurrent/actor_ref.rb

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,14 @@ module Concurrent
44

55
module ActorRef
66

7-
def running?
8-
true
9-
end
10-
11-
def shutdown?
12-
false
13-
end
14-
15-
def post(*msg, &block)
16-
raise NotImplementedError
17-
end
18-
19-
def post!(*msg)
20-
raise NotImplementedError
21-
end
7+
#NOTE: Required API methods
8+
# Must be implemented in all subclasses
9+
#def post(*msg, &block)
10+
#def post!(*msg)
11+
#def running?
12+
#def shutdown?
13+
#def shutdown
14+
#def join(timeout = nil)
2215

2316
def <<(message)
2417
post(*message)

0 commit comments

Comments
 (0)