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 peterfication committed Jan 20, 2020
1 parent 39134d7 commit 0a31341
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 0a31341

Please sign in to comment.