In Files

  • mrblib/class.rb

Parent

Module

Public Instance Methods

attr(name) click to toggle source

15.2.2.4.11

 
               # File mrblib/class.rb, line 8
def attr(name)
  attr_reader(name)
end
            
attr_accessor(*names) click to toggle source

15.2.2.4.12

 
               # File mrblib/class.rb, line 3
def attr_accessor(*names)
  attr_reader(*names)
  attr_writer(*names)
end