Sha256: 2eed9e2cd735cb6378a8d80900b881f921db36574805d5fd2ef077b42d289877
Contents?: true
Size: 354 Bytes
Versions: 13
Compression:
Stored size: 354 Bytes
Contents
=begin rdoc This class stores version text for Image. See Version for details. === Content Uses ImageContent. =end class ImageVersion < DocumentVersion before_create :set_image_text def self.content_class ImageContent end private def set_image_text if self[:text].blank? self[:text] = "!#{self.node[:zip]}!" end end end
Version data entries
13 entries across 13 versions & 1 rubygems