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

added Pry::ObsoleteError exception to indicate obsolete API

This commit is contained in:
John Mair 2012-01-24 01:10:35 +13:00
parent 7c8aa38015
commit 2be8a7ec30

View file

@ -149,6 +149,9 @@ class Pry
class CommandError < StandardError; end
class NonMethodContextError < CommandError; end
# indicates obsolete API
class ObsoleteError < StandardError; end
# This is to keep from breaking under Rails 3.2 for people who are doing that
# IRB = Pry thing.
module ExtendCommandBundle