diff --git a/lib/pry.rb b/lib/pry.rb index 0e2c0f9e..a8eff26c 100644 --- a/lib/pry.rb +++ b/lib/pry.rb @@ -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