From 9484216ecc2dade663f19b3d09875731983fe986 Mon Sep 17 00:00:00 2001 From: John Mair Date: Wed, 11 May 2011 19:33:26 +1200 Subject: [PATCH] fixed bug in make_header, changed Helpers.Text to Helpers::Text --- lib/pry/helpers/command_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/helpers/command_helpers.rb b/lib/pry/helpers/command_helpers.rb index e73199ff..99809070 100644 --- a/lib/pry/helpers/command_helpers.rb +++ b/lib/pry/helpers/command_helpers.rb @@ -131,7 +131,7 @@ class Pry "\n#{Pry::Helpers::Text.bold('From:')} #{file} @ line #{line}:\n#{num_lines}\n\n" else file = Pry::MethodInfo.info_for(meth).file - "\n#{Pry::Helpers.Text.bold('From:')} #{file} in Ruby Core (C Method):\n#{num_lines}\n\n" + "\n#{Pry::Helpers::Text.bold('From:')} #{file} in Ruby Core (C Method):\n#{num_lines}\n\n" end end