module ActionText::Serialization
def _dump(*)
def _dump(*) self.class.dump(self) end
def dump(content)
def dump(content) case content when nil nil when self content.to_html when ActionText::RichText content.body.to_html else new(content).to_html end end
def load(content)
def load(content) new(content) if content end