From ad53275109e4a19a4b5cfc0519c25bf2566d7e92 Mon Sep 17 00:00:00 2001 From: vaughanbrittonsage Date: Tue, 27 Feb 2018 14:01:54 +0000 Subject: [PATCH] removed usage of fixnum to remove deprecation warning --- lib/hash_kit/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash_kit/helper.rb b/lib/hash_kit/helper.rb index 4a8073d..68bbcc6 100644 --- a/lib/hash_kit/helper.rb +++ b/lib/hash_kit/helper.rb @@ -123,7 +123,7 @@ def convert_array_values(array) def standard_type?(obj) [ - String, Fixnum, Numeric, Float, Date, DateTime, Time, Integer, TrueClass, FalseClass, NilClass, Symbol + String, Numeric, Float, Date, DateTime, Time, Integer, TrueClass, FalseClass, NilClass, Symbol ].detect do |klass| obj.is_a?(klass) end