Module: Rubinius::Debugger::Display

Included in:
Command
Defined in:
lib/rubinius/debugger/display.rb

Instance Method Summary collapse

Instance Method Details

#ask(str) ⇒ Object



23
24
25
# File 'lib/rubinius/debugger/display.rb', line 23

def ask(str)
  Readline.readline("| #{str}")
end

#crit(str) ⇒ Object



11
12
13
# File 'lib/rubinius/debugger/display.rb', line 11

def crit(str)
  puts "[CRITICAL] #{str}"
end

#display(str) ⇒ Object



7
8
9
# File 'lib/rubinius/debugger/display.rb', line 7

def display(str)
  puts "=> #{str}"
end

#error(str) ⇒ Object



15
16
17
# File 'lib/rubinius/debugger/display.rb', line 15

def error(str)
  puts "* #{str}"
end

#info(str) ⇒ Object



3
4
5
# File 'lib/rubinius/debugger/display.rb', line 3

def info(str)
  puts "| #{str}"
end

#section(str) ⇒ Object



19
20
21
# File 'lib/rubinius/debugger/display.rb', line 19

def section(str)
  puts "==== #{str} ===="
end