File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module SyntaxSuggest
1515 #
1616 # 1. Sanitize/format input source
1717 # 2. Search for invalid blocks
18- # 3. Format invalid blocks into something meaninful
18+ # 3. Format invalid blocks into something meaningful
1919 #
2020 # This class handles the third part.
2121 #
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module SyntaxSuggest
1010 #
1111 # 1. Sanitize/format input source
1212 # 2. Search for invalid blocks
13- # 3. Format invalid blocks into something meaninful
13+ # 3. Format invalid blocks into something meaningful
1414 #
1515 # This class handles the first part.
1616 #
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module SyntaxSuggest
88 #
99 # 1. Sanitize/format input source
1010 # 2. Search for invalid blocks
11- # 3. Format invalid blocks into something meaninful
11+ # 3. Format invalid blocks into something meaningful
1212 #
1313 # The Code frontier is a critical part of the second step
1414 #
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
13module SyntaxSuggest
24 # Mini String IO [Private]
35 #
46 # Acts like a StringIO with reduced API, but without having to require that
57 # class.
8+ #
9+ # The original codebase emitted directly to $stderr, but now SyntaxError#detailed_message
10+ # needs a string output. To accomplish that we kept the original print infrastructure in place and
11+ # added this class to accumulate the print output into a string.
612 class MiniStringIO
713 EMPTY_ARG = Object . new
814
You can’t perform that action at this time.
0 commit comments