Sha256: ce1fe8d0d705edaf47e9950c1ff6eb3270d3923d9c5fc41b48305eae1ea950e9

Contents?: true

Size: 232 Bytes

Versions: 7

Compression:

Stored size: 232 Bytes

Contents

== String#words

  require 'facets/string/words'

  x = "a b c\nd e"
  x.words.assert == ['a','b','c','d','e']

  x = "ab cd\nef"
  x.words.assert == ['ab','cd','ef']

  x = "ab cd \n ef-gh"
  x.words.assert == ['ab','cd','ef-gh']

Version data entries

7 entries across 7 versions & 1 rubygems

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