summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/00class.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/mrblib/00class.rb b/mrblib/00class.rb
index 1811236f0..cbcca8610 100644
--- a/mrblib/00class.rb
+++ b/mrblib/00class.rb
@@ -1,3 +1,13 @@
+class BasicObject
+ def !=(other)
+ if self == other
+ false
+ else
+ true
+ end
+ end
+end
+
class Module
# 15.2.2.4.12
def attr_accessor(*names)