lib/tokenize.rb in jt-rails-tokenizable-1.0.10 vs lib/tokenize.rb in jt-rails-tokenizable-1.1

- old
+ new

@@ -6,10 +6,10 @@ base.class_eval do # jt_rails_token_fields is shared only by a class and its subclass def self.jt_rails_token_fields - class_variable_set(:@@jt_rails_token_fields, {}) if !class_variable_defined?(:@@jt_rails_token_fields) + class_variable_set(:@@jt_rails_token_fields, HashWithIndifferentAccess.new) if !class_variable_defined?(:@@jt_rails_token_fields) class_variable_get(:@@jt_rails_token_fields) end end end