lib/simple_model/config.rb in simple_model-1.4.2 vs lib/simple_model/config.rb in simple_model-1.4.3

- old
+ new

@@ -1,9 +1,9 @@ module SimpleModel class Config DEFAULTS = { :initialize_defaults => false, - :attributes_store => (RUBY_VERSION =~ /^2.2/ ? :symbol : :string) # OPTIONS => :string, :symbol, :indifferent + :attributes_store => (RUBY_VERSION >= "2.2" ? :symbol : :string) # OPTIONS => :string, :symbol, :indifferent }.freeze ATTRIBUTE_STORES = { :symbol => :to_sym, :string => :to_s,