Class: Byebug::LocalInterface

Inherits:
Interface show all
Defined in:
lib/byebug/interfaces/local_interface.rb

Overview

Interface class for standard byebug use.

Instance Attribute Summary

Attributes inherited from Interface

#command_queue, #history

Instance Method Summary collapse

Methods inherited from Interface

#errmsg, #initialize

Constructor Details

This class inherits a constructor from Byebug::Interface

Instance Method Details

#closeObject



18
19
# File 'lib/byebug/interfaces/local_interface.rb', line 18

def close
end

#confirm(prompt) ⇒ Object



10
11
12
# File 'lib/byebug/interfaces/local_interface.rb', line 10

def confirm(prompt)
  readline(prompt, false)
end

#puts(*args) ⇒ Object



14
15
16
# File 'lib/byebug/interfaces/local_interface.rb', line 14

def puts(*args)
  STDOUT.puts(*args)
end

#read_command(prompt) ⇒ Object



6
7
8
# File 'lib/byebug/interfaces/local_interface.rb', line 6

def read_command(prompt)
  readline(prompt, true)
end