class UzuUzu::Contents

Public Instance Methods

render(options={}, locals={}) click to toggle source
# File lib/uzuuzu-cms/model/contents.rb, line 31
def render(options={}, locals={})
  contents = "<div id=\"contents_#{self.id}\">\n"
  contents += UzuUzu::Controller.current.render_engine(self.body, self.format, options, locals)
  contents += "\n</div>"
end