lib/mongoo/embedded/hash_proxy.rb in mongoo-0.5.4 vs lib/mongoo/embedded/hash_proxy.rb in mongoo-0.5.5

- old
+ new

@@ -7,9 +7,10 @@ @hash = hash @klass = klass end def build(hash, k=nil) + return nil if hash.nil? @klass.new(@doc, hash, k) end def raw @hash \ No newline at end of file