Module: Virgo::TextHelper

Defined in:
app/helpers/virgo/text_helper.rb

Instance Method Summary collapse

Instance Method Details

#strip_read_more(text) ⇒ Object


8
9
10
# File 'app/helpers/virgo/text_helper.rb', line 8

def strip_read_more(text)
  text.gsub('[read-more]', '').html_safe
end