Method: DEBUGGER__::LimitedPP#<<

Defined in:
lib/debug/session.rb

#<<(other) ⇒ Object



2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/debug/session.rb', line 2359

def <<(other)
  @buf << other

  if @buf.size >= @max
    @buf = @buf[0..@max] + '...'
    throw self
  end
end