Module: Sunrise::Models::Question::InstanceMethods

Defined in:
lib/sunrise/models/question.rb

Instance Method Summary collapse

Instance Method Details

#content_without_htmlObject



27
28
29
30
# File 'lib/sunrise/models/question.rb', line 27

def content_without_html
  return nil if self.content.blank?
  self.content.no_html
end