Method: Debugger::EvalCommand.help

Defined in:
lib/ruby-debug-ide/commands/eval.rb

.help(cmd) ⇒ Object



25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/ruby-debug-ide/commands/eval.rb', line 25

def help(cmd)
  if cmd == 'p'
    %{
      p expression\tevaluate expression and print its value
    }
  else
    %{
      e[val] expression\tevaluate expression and print its value,
      \t\t\talias for p.
    }
  end
end