Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def eval_prompt
- prompt = $indent == 0 ? $config.prompt : $config.continuation_prompt
- prompt = prompt.call if prompt.respond_to? :call
- rescue Exception => e
- $stderr.puts("Warning: Failed to evaluate prompt:\n " + e)
- return "rs> "
- end # eval_prompt()
Add Comment
Please, Sign In to add comment