# File lib/relevance/core_extensions/ellipsize.rb, line 10 def ellipsize(cutoff = 20) if length > cutoff "#{self[0...cutoff]}..." else self end end