Permalink
Browse files

Removed Exception#to_str for 1.9

  • Loading branch information...
1 parent 1b7c5dc commit ae46a25e3cfd6a43a094f7873995858558f7b4cc @ctoneal ctoneal committed Oct 13, 2011
@@ -111,8 +111,6 @@ def message
to_s
end
- alias_method :to_str, :message
-
def inspect
"#<#{self.class.name}: #{self.to_s}>"
end
@@ -0,0 +1,3 @@
+class Exception
+ alias_method :to_str, :message
+end
@@ -0,0 +1,2 @@
+class Exception
+end
@@ -11,6 +11,7 @@ argf.rbc
argf18.rbc
tuple.rbc
exception.rbc
+exception18.rbc
undefined.rbc
hash18.rbc
type.rbc
@@ -13,6 +13,7 @@ argf.rbc
argf19.rbc
tuple.rbc
exception.rbc
+exception19.rbc
undefined.rbc
hash19.rbc
hash_hamt.rbc
@@ -12,6 +12,7 @@ enumerator19.rbc
argf.rbc
tuple.rbc
exception.rbc
+exception19.rbc
undefined.rbc
hash19.rbc
hash_hamt.rbc
@@ -85,6 +86,7 @@ objectspace.rbc
string.rbc
string19.rbc
range.rbc
+range19.rbc
struct.rbc
process.rbc
random.rbc

0 comments on commit ae46a25

Please sign in to comment.