Sha256: bcef5465f327169cd646a6a534eceb07578f641b897bfe806b5e6c1885d02862
Contents?: true
Size: 544 Bytes
Versions: 5
Compression:
Stored size: 544 Bytes
Contents
covers 'facets/string/align' test_case String do method :align do test do "xxx".align(:right, 9) == " xxx" "xxx".align(:left, 9).assert == "xxx " "xxx".align(:center, 9).assert == " xxx " end end method :align_right do test do "xxx".align_right(9) == " xxx" end end method :align_left do test do "xxx".align_left(9).assert == "xxx " end end method :align_center do test do "xxx".align_center(9).assert == " xxx " end end end
Version data entries
5 entries across 5 versions & 2 rubygems