lib/ucf.rb in ucf-0.0.2 vs lib/ucf.rb in ucf-0.1.0

- old
+ new

@@ -29,17 +29,19 @@ # POSSIBILITY OF SUCH DAMAGE. # # Author: Robert Haines require 'yaml' +require 'ucf/exceptions' require 'ucf/container' # This is a ruby library to read and write UCF files in PK Zip format. See the # UCF::Container class for more information. # -# See https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format -# for more details on the UCF. +# See +# {the UCF specification}[https://learn.adobe.com/wiki/display/PDFNAV/Universal+Container+Format] +# for more details. module UCF # Library version information. module Version # Version information in a Hash @@ -48,14 +50,6 @@ # Version number as a String STRING = [:major, :minor, :patch].map {|d| INFO[d]}.compact.join('.') end - # Exception raised when a bad UCF is detected. - class MalformedUCFError < RuntimeError - # :stopdoc: - def initialize(message = "") - super(message) - end - # :startdoc: - end end