Skip to content

Commit 001691a

Browse files
committed
Fix event's state symbol representation
1 parent 9509164 commit 001691a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/concurrent/edge/promises.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,10 @@ def apply(args, block)
458458
PENDING = Pending.new
459459
RESOLVED = Fulfilled.new(nil)
460460

461+
def RESOLVED.to_sym
462+
:resolved
463+
end
464+
461465
private_constant :PENDING, :RESOLVED
462466
end
463467

0 commit comments

Comments
 (0)