mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
refactor
This commit is contained in:
parent
3542106257
commit
b6394c8835
1 changed files with 3 additions and 3 deletions
|
@ -20,6 +20,9 @@ module Pry
|
|||
attr_accessor :output
|
||||
end
|
||||
|
||||
@output = Output.new
|
||||
@input = Input.new
|
||||
|
||||
@default_prompt = proc do |v, nest|
|
||||
if nest == 0
|
||||
"pry(#{v.inspect})> "
|
||||
|
@ -36,9 +39,6 @@ module Pry
|
|||
end
|
||||
end
|
||||
|
||||
@output = Output.new
|
||||
@input = Input.new
|
||||
|
||||
@nesting = []
|
||||
|
||||
def @nesting.level
|
||||
|
|
Loading…
Reference in a new issue