1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

fixed bug in make_header, changed Helpers.Text to Helpers::Text

This commit is contained in:
John Mair 2011-05-11 19:33:26 +12:00
parent 56649a909c
commit 9484216ecc

View file

@ -131,7 +131,7 @@ class Pry
"\n#{Pry::Helpers::Text.bold('From:')} #{file} @ line #{line}:\n#{num_lines}\n\n" "\n#{Pry::Helpers::Text.bold('From:')} #{file} @ line #{line}:\n#{num_lines}\n\n"
else else
file = Pry::MethodInfo.info_for(meth).file 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
end end