diff --git a/lib/pry/command_context.rb b/lib/pry/command_context.rb index d671e257..d5ff0f7d 100644 --- a/lib/pry/command_context.rb +++ b/lib/pry/command_context.rb @@ -24,9 +24,7 @@ class Pry end def text - @text ||= Class.new do - extend Pry::Helpers::Text - end + @text ||= Object.new.extend Pry::Helpers::Text end include Pry::Helpers::BaseHelpers