Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- mrblib/class.rb
Instance Method Summary (collapse)
-
- (Object) attr(name)
15.2.2.4.11.
-
- (Object) attr_accessor(*names)
15.2.2.4.12.
Instance Method Details
- (Object) attr(name)
15.2.2.4.11
8 9 10 |
# File 'mrblib/class.rb', line 8 def attr(name) attr_reader(name) end |
- (Object) attr_accessor(*names)
15.2.2.4.12
3 4 5 6 |
# File 'mrblib/class.rb', line 3 def attr_accessor(*names) attr_reader(*names) attr_writer(*names) end |