lib/pry/hooks.rb in pry-0.4.8 vs lib/pry/hooks.rb in pry-0.5.0pre2

- old
+ new

@@ -1,8 +1,8 @@ class Pry # The default hooks - display messages when beginning and ending Pry sessions. DEFAULT_HOOKS = { - :before_session => proc { |out, obj| out.puts "Beginning Pry session for #{Pry.view(obj)}" }, - :after_session => proc { |out, obj| out.puts "Ending Pry session for #{Pry.view(obj)}" } + :before_session => proc { |out, obj| out.puts "Beginning Pry session for #{Pry.view_clip(obj)}" }, + :after_session => proc { |out, obj| out.puts "Ending Pry session for #{Pry.view_clip(obj)}" } } end