Permalink
Browse files

tiny clarity tweak

  • Loading branch information...
1 parent 73ed50f commit bec5420fcf75e1f48a2ea4a2073d82207fde4e8a @gilesbowkett committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/analyzers/implicit_json_schema.rb
@@ -36,7 +36,7 @@ def merge(other_schema)
other_attributes.each do |attribute, value|
# if the other schema has a nil for an attribute, then throw that away, because
# it means the attribute was never classified
- unless value
+ if value.nil?
other_attributes.delete(attribute)
next
end

0 comments on commit bec5420

Please sign in to comment.