Sha256: 62ebd37c7f11ae839ebf6526ead41e492ce3dabe04e62370cd41c80f0225260d
Contents?: true
Size: 440 Bytes
Versions: 111
Compression:
Stored size: 440 Bytes
Contents
direc = File.dirname(__FILE__) require 'rubygems' require "#{direc}/../lib/pry" # Remember, first prompt in array is the main prompt, second is the wait # prompt (used for multiline input when more input is required) my_prompt = [ proc { |obj, *| "inside #{obj}> " }, proc { |obj, *| "inside #{obj}* "} ] # Start a Pry session using the prompt defined in my_prompt Pry.start(TOPLEVEL_BINDING, :prompt => my_prompt)
Version data entries
111 entries across 111 versions & 1 rubygems