Skip to content

Commit

Permalink
fix: Support all Ruby 2.7 for now (#453)
Browse files Browse the repository at this point in the history
Ruby syntax `...` was added not for all 2.7 versions. Let's fallback for now to old syntax.
  • Loading branch information
route authored Mar 19, 2024
1 parent 842d2ea commit 6df4ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ferrum/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def respond_to_missing?(name, include_private)
@client.respond_to?(name, include_private)
end

def method_missing(name, ...)
@client.send(name, ...)
def method_missing(name, *args, **opts, &block)
@client.send(name, *args, **opts, &block)
end

def close
Expand Down

0 comments on commit 6df4ed6

Please sign in to comment.