From 6046e842331d7323ec5c1675effb8bc550518bea Mon Sep 17 00:00:00 2001 From: naari3 Date: Tue, 17 Dec 2019 18:40:51 +0900 Subject: [PATCH] Replace soft-deprecated constant `HashWithIndifferentAccess` to `ActiveSupport::HashWithIndifferentAccess` --- lib/annotate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/annotate.rb b/lib/annotate.rb index eab454b40..4abe74088 100644 --- a/lib/annotate.rb +++ b/lib/annotate.rb @@ -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)