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` (#699)
  • Loading branch information
naari3 authored and ctran committed Dec 18, 2019
1 parent a91b65b commit a05e458
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 a05e458

Please sign in to comment.