Skip to content

Commit dba228d

Browse files
committed
Remove actor-experimental warning.
1 parent 7cd201e commit dba228d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/concurrent/actor.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ def self.root
6767
# @param args see {.spawn_optionify}
6868
# @return [Reference] never the actual actor
6969
def self.spawn(*args, &block)
70-
experimental_acknowledged? or
71-
warn '[EXPERIMENTAL] A full release of `Actor`, is expected in the 0.7.0 release.'
72-
7370
if Actor.current
7471
Core.new(spawn_optionify(*args).merge(parent: Actor.current), &block).reference
7572
else
@@ -100,11 +97,7 @@ def self.spawn_optionify(*args)
10097

10198
# call this to disable experimental warning
10299
def self.i_know_it_is_experimental!
103-
@experimental_acknowledged = true
104-
end
105-
106-
def self.experimental_acknowledged?
107-
!!@experimental_acknowledged
100+
warn 'Method Actor.i_know_it_is_experimental! is deprecated. The Actors are no longer experimental.'
108101
end
109102
end
110103
end

0 commit comments

Comments
 (0)