lib/nokogiri/decorators/xbel/bookmark.rb in xbel-0.2.0 vs lib/nokogiri/decorators/xbel/bookmark.rb in xbel-0.2.1

- old
+ new

@@ -1,8 +1,12 @@ module Nokogiri::Decorators::XBEL module Bookmark include Entry + def self.extended(node) + node.initialize_decorator + end + def modified if value = self['modified'] then Date.parse value end end def modified=(value) self['modified'] = value.to_s