Skip to content

Commit

Permalink
removed usage of fixnum to remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughanbrittonsage committed Feb 27, 2018
1 parent 84bd684 commit ad53275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hash_kit/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad53275

Please sign in to comment.