mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
03a77c03eb
commit
3a547e2539
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ module SyntaxSuggest
|
|||
#
|
||||
# Acts like a StringIO with reduced API, but without having to require that
|
||||
# class.
|
||||
#
|
||||
# The original codebase emitted directly to $stderr, but now SyntaxError#detailed_message
|
||||
# needs a string output. To accomplish that we kept the original print infrastructure in place and
|
||||
# added this class to accumulate the print output into a string.
|
||||
class MiniStringIO
|
||||
EMPTY_ARG = Object.new
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue