Method: String#long_words

Defined in:
lib/textstats.rb

#long_words(size = 6) ⇒ Object



43
44
45
46
47
# File 'lib/textstats.rb', line 43

def long_words(size=6)
  wl = []
  words.each{|w|wl << w if w.size >= size}
  wl
end