class Pry::Command::ClearScreen

Public Instance Methods

process() click to toggle source
# File lib/pry/commands/clear_screen.rb, line 6
def process
  if Helpers::Platform.windows?
    _pry_.config.system.call(_pry_.output, 'cls', _pry_)
  else
    _pry_.config.system.call(_pry_.output, 'clear', _pry_)
  end
end