source:
EcnlProtoTool/trunk/mruby-1.3.0/mrblib/class.rb@
332
Last change on this file since 332 was 321, checked in by , 7 years ago | |
---|---|
|
|
File size: 177 bytes |
Line | |
---|---|
1 | class Module |
2 | # 15.2.2.4.12 |
3 | def attr_accessor(*names) |
4 | attr_reader(*names) |
5 | attr_writer(*names) |
6 | end |
7 | # 15.2.2.4.11 |
8 | def attr(name) |
9 | attr_reader(name) |
10 | end |
11 | end |
Note:
See TracBrowser
for help on using the repository browser.