Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using conf.expr_number for prompt

  • Loading branch information...
commit 8fd91ec8f2ac57a405f2eacb6256a3fbfc30f350 1 parent c3d27d9
@banister banister authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pry.rb
View
4 lib/pry.rb
@@ -85,11 +85,11 @@ class Pry
NAV_PROMPT = [
proc do |conf|
tree = conf.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
- "[#{conf.input_array.size}] (pry) #{tree}: #{conf.nesting_level}> "
+ "[#{conf.expr_number}] (pry) #{tree}: #{conf.nesting_level}> "
end,
proc do |conf|
tree = conf.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
- "[#{conf.input_array.size}] (pry) #{tree}: #{conf.nesting_level}* "
+ "[#{conf.expr_number}] (pry) #{tree}: #{conf.nesting_level}* "
end,
]
Please sign in to comment.
Something went wrong with that request. Please try again.