class Pry::Command::ClearScreen
Public Instance Methods
process()
click to toggle source
# File lib/pry/commands/clear_screen.rb, line 10 def process if Pry::Helpers::Platform.windows? pry_instance.config.system.call(pry_instance.output, 'cls', pry_instance) else pry_instance.config.system.call(pry_instance.output, 'clear', pry_instance) end end