Sha256: 8b5d4b56547eca73ca4b0b0bc83d968acc1501c0011ed93997b89867c8cfd954
Contents?: true
Size: 238 Bytes
Versions: 14
Compression:
Stored size: 238 Bytes
Contents
require 'facets/string/each_char' require 'test/unit' class TC_String_Each_Char < Test::Unit::TestCase def test_each_char a = [] i = "this" i.each_char{ |w| a << w } assert_equal( ['t', 'h', 'i', 's'], a ) end end
Version data entries
14 entries across 14 versions & 1 rubygems