class V8::CLI::Shell

Public Instance Methods

exit(status = 0) click to toggle source
# File lib/v8/cli.rb, line 112
def exit(status = 0)
  Kernel.exit(status)
end
Also aliased as: quit
help(*args) click to toggle source
# File lib/v8/cli.rb, line 118
  def help(*args)
    <<-HELP
print(msg)
  print msg to STDOUT

exit(status = 0)
  exit the shell
  also: quit()

evalrb(source)
  evaluate some ruby source
HELP
  end
print(string) click to toggle source
quit(status = 0) click to toggle source
Alias for: exit
to_s() click to toggle source
# File lib/v8/cli.rb, line 104
def to_s
  "[object Shell]"
end