lib/zip-container/entries/file.rb in zip-container-0.8.0 vs lib/zip-container/entries/file.rb in zip-container-0.9.0
- old
+ new
@@ -65,14 +65,14 @@
# verify!
#
# Verify this ManagedFile for correctness. The contents are validated if
# required.
#
- # A MalformedZipContainerError is raised if it does not pass verification.
+ # A MalformedContainerError is raised if it does not pass verification.
def verify!
super
unless (exists? ? validate : true)
- raise MalformedZipContainerError.new("The contents of file "\
+ raise MalformedContainerError.new("The contents of file "\
"'#{full_name}' do not pass validation.")
end
end
protected