diff options
| author | Christopher Aue <[email protected]> | 2017-07-28 17:38:40 +0200 |
|---|---|---|
| committer | Christopher Aue <[email protected]> | 2017-07-28 17:38:40 +0200 |
| commit | b499ad6749abac498c8e2b54ddfd703f9043c6e1 (patch) | |
| tree | 00bbf9ab39c6b6a79304207921dd6a21e3b1ead4 /mrblib | |
| parent | 4696093673c3352a1897490ecc5e4e4e40f463b5 (diff) | |
| download | mruby-b499ad6749abac498c8e2b54ddfd703f9043c6e1.tar.gz mruby-b499ad6749abac498c8e2b54ddfd703f9043c6e1.zip | |
Fixed return value of Module#include and #prepend
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/00class.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrblib/00class.rb b/mrblib/00class.rb index f3762e8d0..1a2d833c8 100644 --- a/mrblib/00class.rb +++ b/mrblib/00class.rb @@ -15,6 +15,7 @@ class Module m.append_features(self) m.included(self) end + self end def prepend(*args) @@ -22,5 +23,6 @@ class Module m.prepend_features(self) m.prepended(self) end + self end end |
