Sha256: c05f0829ebbdd41da3373bc6a30e28437fc6d4b3fc46581053d495ccd53d0949
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
module EPUBInfo module Models class Identifier attr_accessor :identifier, :scheme def initialize(node) self.identifier = node.content self.scheme = node.attribute('scheme').content rescue nil end def to_hash { :identifier => @identifier, :scheme => @scheme } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
epubinfo-0.2.2 | lib/epubinfo/models/identifier.rb |