diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-14 00:34:47 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-14 00:34:47 -0700 |
| commit | ab1c5c166c7271b39ba46e447ec655f8cd66bd3d (patch) | |
| tree | a028de3574c724f2c09e3b3d625e4a0faf8662b0 /mrblib | |
| parent | 0dfda0c9704a0375705cf401ccda6b277bc68bed (diff) | |
| parent | d55eb947f93b066ee5d4dea95543241b24009f1f (diff) | |
| download | mruby-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.rb | 2 |
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 |
