From 2be8a7ec305705c891627416f5200da098d16cb2 Mon Sep 17 00:00:00 2001 From: John Mair Date: Tue, 24 Jan 2012 01:10:35 +1300 Subject: [PATCH] added Pry::ObsoleteError exception to indicate obsolete API --- lib/pry.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pry.rb b/lib/pry.rb index 48a7af6b..f5e84a3f 100644 --- a/lib/pry.rb +++ b/lib/pry.rb @@ -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