Sha256: 18e5faee9763bf4d6a8431ee3e88b9366eb660438d7f92358d30a919e6303f2f
Contents?: true
Size: 326 Bytes
Versions: 7
Compression:
Stored size: 326 Bytes
Contents
== String#tab require 'facets/string/tab' a = "abc".tab(2) a.assert == " abc" If we add a new line we see that both are tabbed. a = "abc\nxyz".tab(2) a.assert == " abc\n xyz" Unlike #tabto, #tab indents all lines equally regardless of prior indention. a = "abc\n xyz".tab(2) a.assert == " abc\n xyz"
Version data entries
7 entries across 7 versions & 1 rubygems