Skip to content

Commit

Permalink
Ruby 3 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieWinchester committed Dec 10, 2024
1 parent f334cb2 commit 2c85301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/iiif_manifest/manifest_service_locator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,13 @@ def iiif_autocomplete_service_factory

class InjectedFactory
attr_reader :factory, :hash_args
def initialize(factory, hash_args)
def initialize(factory, **hash_args)
@hash_args = hash_args
@factory = factory
end

def new(*args)
factory.new(*args, hash_args)
factory.new(*args, **hash_args)
end
end
end
Expand Down

0 comments on commit 2c85301

Please sign in to comment.