Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed Exception#to_str for 1.9

  • Loading branch information...
commit ae46a25e3cfd6a43a094f7873995858558f7b4cc 1 parent 1b7c5dc
Chris O'Neal ctoneal authored
2  kernel/common/exception.rb
View
@@ -111,8 +111,6 @@ def message
to_s
end
- alias_method :to_str, :message
-
def inspect
"#<#{self.class.name}: #{self.to_s}>"
end
3  kernel/common/exception18.rb
View
@@ -0,0 +1,3 @@
+class Exception
+ alias_method :to_str, :message
+end
2  kernel/common/exception19.rb
View
@@ -0,0 +1,2 @@
+class Exception
+end
1  kernel/common/load_order18.txt
View
@@ -11,6 +11,7 @@ argf.rbc
argf18.rbc
tuple.rbc
exception.rbc
+exception18.rbc
undefined.rbc
hash18.rbc
type.rbc
1  kernel/common/load_order19.txt
View
@@ -13,6 +13,7 @@ argf.rbc
argf19.rbc
tuple.rbc
exception.rbc
+exception19.rbc
undefined.rbc
hash19.rbc
hash_hamt.rbc
2  kernel/common/load_order20.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.