Class: EBPS::Conversion::Oebps::XmlFactory

Inherits:
Factory
  • Object
show all
Defined in:
lib/ebps/conversion/oebps.rb

Direct Known Subclasses

NcxFactory, OpfFactory

Instance Attribute Summary

Attributes inherited from Factory

#uid

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ XmlFactory

Returns a new instance of XmlFactory.



255
256
257
258
# File 'lib/ebps/conversion/oebps.rb', line 255

def initialize *args
  super
  @uid = "id" << Digest::MD5.hexdigest(@subject.join("\n"))
end