Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.192 kb
# Add methods for parsing article text
class String
def strip_html
gsub(/<\/?[^>]*>/, " ")
end
def separate_words
scan(/\w*/).select {|s| s.length > 3}.map{|s| s.downcase}
end
end
Jump to Line
Something went wrong with that request. Please try again.