Method: OMF::Web::Widget::TextWidget#update
- Defined in:
- lib/omf-web/widget/text/text_widget.rb
#update ⇒ Object
43 44 45 46 47 48 |
# File 'lib/omf-web/widget/text/text_widget.rb', line 43 def update() # Could avoid doing the next three steps every time if we would know if the # content in content_proxy has changed. @content = OMF::Web::Widget::Text::Maruku.format_content(@content_proxy) = @content.attributes[:widgets] || [] end |