mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
8 lines
321 B
Ruby
8 lines
321 B
Ruby
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_clip(obj)}" },
|
|
:after_session => proc { |out, obj| out.puts "Ending Pry session for #{Pry.view_clip(obj)}" }
|
|
}
|
|
end
|