lib/lite/ruby/object.rb in lite-ruby-1.1.4 vs lib/lite/ruby/object.rb in lite-ruby-1.1.5
- old
+ new
@@ -3,13 +3,13 @@
if Lite::Ruby.configuration.monkey_patches.include?('object')
require 'lite/ruby/safe/object' unless defined?(ActiveSupport)
class Object
- FALSE_VALUES ||= %w[
+ FALSE_VALUES = %w[
0 f false n no off
].freeze
- TRUE_VALUES ||= %w[
+ TRUE_VALUES = %w[
1 t true y yes on
].freeze
# NOTE: There is a class between the PG gem and the `array?` method.
# We only need to skip this on migrations since that action