Skip to content

Commit

Permalink
Merge branch 'kyrylo/add-when-started-hook'
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Jul 30, 2012
2 parents 2513b2f + 2359a01 commit 32bc838
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pry-debundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ def load_additional_plugins
# This handles the case where you load something that loads bundler
# into your Pry.
Pry.config.hooks.add_hook(:after_eval, :debundle){ Pry.debundle! }

# Run after a Pry.start call.
Pry.config.hooks.add_hook(:when_started, :debundle){ Pry.debundle! }

0 comments on commit 32bc838

Please sign in to comment.