Sha256: 4374b81936ae663ee062ee03cd93dd7555dd4c69dcfdd2afb811140a6c3401ee
Contents?: true
Size: 203 Bytes
Versions: 8
Compression:
Stored size: 203 Bytes
Contents
require 'facets/string/words' class String # Iterate through each word of a string. # # "a string".each_word { |word, range| ... } # def each_word(&block) words.each(&block) end end
Version data entries
8 entries across 8 versions & 2 rubygems