Skip to content

Commit 314a26d

Browse files
committed
Make name and executor publicly accessible
1 parent 67a0671 commit 314a26d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/concurrent/actress/core_delegations.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
module Concurrent
22
module Actress
33

4-
# delegates publicly expose-able methods calls to Core
4+
# Provides publicly expose-able methods from {Core}.
55
module CoreDelegations
6+
def name
7+
core.name
8+
end
9+
610
def path
711
core.path
812
end
@@ -19,6 +23,10 @@ def reference
1923
core.reference
2024
end
2125

26+
def executor
27+
core.executor
28+
end
29+
2230
alias_method :ref, :reference
2331
end
2432
end

0 commit comments

Comments
 (0)