Skip to content

Commit c58767f

Browse files
committed
extend evaluate_func with any options ability
1 parent afb9bb1 commit c58767f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ferrum/frame/runtime.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def execute(expression, *args)
7676
true
7777
end
7878

79-
def evaluate_func(expression, *args, on: nil)
80-
call(expression: expression, arguments: args, on: on)
79+
def evaluate_func(expression, *args, on: nil, **options)
80+
call(expression: expression, arguments: args, on: on, **options)
8181
end
8282

8383
def evaluate_on(node:, expression:, by_value: true, wait: 0)

0 commit comments

Comments
 (0)