Sha256: 717ad172feb3890a5ba7501cec5e4ab055f4a6db1663a9f5dbfafaa3f400b4e1
Contents?: true
Size: 247 Bytes
Versions: 3
Compression:
Stored size: 247 Bytes
Contents
module EPUBInfo module Models class Date attr_accessor :time, :event def initialize(node) self.time = Time.parse(node.content) self.event = node.attribute('event').content rescue nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
epubinfo-0.2.1 | lib/epubinfo/models/date.rb |
epubinfo-0.2.0 | lib/epubinfo/models/date.rb |
epubinfo-0.1.0 | lib/epubinfo/models/date.rb |