summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-08-14 00:34:47 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-08-14 00:34:47 -0700
commitab1c5c166c7271b39ba46e447ec655f8cd66bd3d (patch)
treea028de3574c724f2c09e3b3d625e4a0faf8662b0 /mrblib
parent0dfda0c9704a0375705cf401ccda6b277bc68bed (diff)
parentd55eb947f93b066ee5d4dea95543241b24009f1f (diff)
downloadmruby-ab1c5c166c7271b39ba46e447ec655f8cd66bd3d.tar.gz
mruby-ab1c5c166c7271b39ba46e447ec655f8cd66bd3d.zip
Merge pull request #1473 from carsonmcdonald/fixclassnew
Fix Class#new call to inherited and add a couple Class tests
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/class.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/class.rb b/mrblib/class.rb
index 57aac2f93..7f37b7bc3 100644
--- a/mrblib/class.rb
+++ b/mrblib/class.rb
@@ -6,7 +6,7 @@ class Class
end
def self.new(*args)
obj = super
- obj.inerited
+ obj.inherited
obj
end
end