diff options
| author | YAMAMOTO Masaya <[email protected]> | 2017-11-04 01:23:12 +0900 |
|---|---|---|
| committer | YAMAMOTO Masaya <[email protected]> | 2017-11-04 01:23:12 +0900 |
| commit | 625f9f6fa314872968632c5adbee7fb3823268b8 (patch) | |
| tree | fdde1700b13048212606e4a995907f3757e18e2f /mrblib | |
| parent | b70d69de09130ce2bc89289b4826b3deea8afaae (diff) | |
| parent | e7fe6ee2638dee438c1d79ab16a0403aebec0a60 (diff) | |
| download | mruby-625f9f6fa314872968632c5adbee7fb3823268b8.tar.gz mruby-625f9f6fa314872968632c5adbee7fb3823268b8.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/00class.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mrblib/00class.rb b/mrblib/00class.rb index 1a2d833c8..1811236f0 100644 --- a/mrblib/00class.rb +++ b/mrblib/00class.rb @@ -5,9 +5,10 @@ class Module attr_writer(*names) end # 15.2.2.4.11 - def attr(name) - attr_reader(name) - end + alias attr attr_reader + #def attr(name) + # attr_reader(name) + #end # 15.2.2.4.27 def include(*args) |
