Skip to content

Commit

Permalink
Replace soft-deprecated constant HashWithIndifferentAccess to `Acti…
Browse files Browse the repository at this point in the history
…veSupport::HashWithIndifferentAccess` (ctran#699)
  • Loading branch information
naari3 authored and vfonic committed May 8, 2020
1 parent 4be788e commit 827712d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/annotate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def self.set_defaults(options = {})
return if @has_set_defaults
@has_set_defaults = true

options = HashWithIndifferentAccess.new(options)
options = ActiveSupport::HashWithIndifferentAccess.new(options)

all_options.flatten.each do |key|
if options.key?(key)
Expand Down

0 comments on commit 827712d

Please sign in to comment.