class SyntaxSuggest::MiniStringIO

Attributes

isatty[R]
string[R]

Public Class Methods

new(isatty: $stderr.isatty) click to toggle source
# File lib/syntax_suggest/core_ext.rb, line 7
def initialize(isatty: $stderr.isatty)
  @string = +""
  @isatty = isatty
end

Public Instance Methods

puts(value = $/, **) click to toggle source
# File lib/syntax_suggest/core_ext.rb, line 13
def puts(value = $/, **)
  @string << value
end