lib/aerospike/client.rb in aerospike-1.0.11 vs lib/aerospike/client.rb in aerospike-1.0.12

- old
+ new

@@ -839,10 +839,10 @@ [hash] elsif hash.is_a?(Array) hash # it is a list of bins else hash.map do |k, v| - raise Aerospike::Exceptions::Parse("bin name `#{k}` is not a string.") unless k.is_a?(String) + raise Aerospike::Exceptions::Parse.new("bin name `#{k}` is not a string.") unless k.is_a?(String) Bin.new(k, v) end end end