Skip to content

Commit

Permalink
extend evaluate_func with any options ability
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Jan 7, 2022
1 parent afb9bb1 commit c58767f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ferrum/frame/runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def execute(expression, *args)
true
end

def evaluate_func(expression, *args, on: nil)
call(expression: expression, arguments: args, on: on)
def evaluate_func(expression, *args, on: nil, **options)
call(expression: expression, arguments: args, on: on, **options)
end

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

0 comments on commit c58767f

Please sign in to comment.