module ModelMixins::LadasHtmlEntities
Public Instance Methods
html_entities_decode()
click to toggle source
# File lib/model_mixins/ladas_html_entities.rb, line 4 def html_entities_decode coder = HTMLEntities.new coder.decode(self.to_s) end
html_entities_encode()
click to toggle source
# File lib/model_mixins/ladas_html_entities.rb, line 9 def html_entities_encode coder = HTMLEntities.new coder.encode(self.to_s) end