Skip to content

Commit dd1a0fe

Browse files
committed
Document maxwidth on format
1 parent 7855112 commit dd1a0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ This function takes an input string containing Ruby code and returns the syntax
223223

224224
### SyntaxTree.format(source)
225225

226-
This function takes an input string containing Ruby code, parses it into its underlying syntax tree, and formats it back out to a string.
226+
This function takes an input string containing Ruby code, parses it into its underlying syntax tree, and formats it back out to a string. You can optionally pass a second argument to this method as well that is the maximum width to print. It defaults to `80`.
227227

228228
## Nodes
229229

0 commit comments

Comments
 (0)