lib/racc/compat.rb in racc-1.4.10 vs lib/racc/compat.rb in racc-1.4.11
- old
+ new
@@ -1,7 +1,7 @@
#
-# $Id: b40c10cc1a30073bf591fef553277971e3c4cd75 $
+# $Id: 14fa1118eb3a23e85265e4f7afe2d5a297d69f9c $
#
# Copyright (c) 1999-2006 Minero Aoki
#
# This program is free software.
# You can distribute/modify this program under the terms of
@@ -16,17 +16,9 @@
end
unless Object.method_defined?(:__send!)
class Object
alias __send! __send__
- end
-end
-
-unless String.method_defined?(:to_a)
- class String
- def to_a
- lines.to_a
- end
end
end
unless Array.method_defined?(:map!)
class Array