Sha256: 5ab79ea6c98ec3d1c2085dad60ec5090137a4dc567bae7374fb8abad3b559869

Contents?: true

Size: 161 Bytes

Versions: 7

Compression:

Stored size: 161 Bytes

Contents

== String#each_word

  require 'facets/string/each_word'

  a = []
  i = "this is a test"
  i.each_word{ |w| a << w }
  a.assert == ['this', 'is', 'a', 'test']

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/string/each_word.rdoc
facets-2.9.3 qed/core/string/each_word.rdoc
facets-2.9.2 qed/core/string/each_word.rdoc
facets-2.9.1 qed/core/string/each_word.rdoc
facets-2.9.0 qed/core/string/each_word.rdoc
facets-2.9.0.pre.2 qed/core/string/each_word.rdoc
facets-2.9.0.pre.1 qed/core/string/each_word.rdoc