Sha256: 0513e31d9496238e31aa112dd7a301f2ab30084255dd01f87dbc4e889d746dcd

Contents?: true

Size: 418 Bytes

Versions: 186

Compression:

Stored size: 418 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))

# 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

186 entries across 186 versions & 1 rubygems

Version Path
pry-0.9.10 examples/example_prompt.rb
pry-0.9.10-i386-mswin32 examples/example_prompt.rb
pry-0.9.10-i386-mingw32 examples/example_prompt.rb
pry-0.9.10-java examples/example_prompt.rb
pry-0.9.10pre1 examples/example_prompt.rb
pry-0.9.10pre1-i386-mswin32 examples/example_prompt.rb
pry-0.9.10pre1-i386-mingw32 examples/example_prompt.rb
pry-0.9.10pre1-java examples/example_prompt.rb
pry-0.10.pre.1-i386-mingw32 examples/example_prompt.rb
pry-0.10.pre.1-java examples/example_prompt.rb
pry-0.10.pre.1-i386-mswin32 examples/example_prompt.rb
pry-0.9.9.6 examples/example_prompt.rb
pry-0.9.9.6-i386-mswin32 examples/example_prompt.rb
pry-0.9.9.6-i386-mingw32 examples/example_prompt.rb
pry-0.9.9.6-java examples/example_prompt.rb
pry-0.9.9.6pre2 examples/example_prompt.rb
pry-0.9.9.6pre2-i386-mswin32 examples/example_prompt.rb
pry-0.9.9.6pre2-i386-mingw32 examples/example_prompt.rb
pry-0.9.9.6pre2-java examples/example_prompt.rb
pry-0.9.9.6pre1 examples/example_prompt.rb