Skip to content

Commit 9a68be4

Browse files
committed
For completeness, add respond_to_missing?.
1 parent f0037f8 commit 9a68be4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/async/service/environment.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ def method_missing(name, argument = nil, &block)
6767
@facet.define_method(name){argument}
6868
end
6969
end
70+
71+
def respond_to_missing?(name, include_private = false)
72+
true
73+
end
7074
end
7175

7276
def self.build(...)

0 commit comments

Comments
 (0)