In Files

  • mrblib/00class.rb

Module

Public Instance Methods

attr(name) click to toggle source

15.2.2.4.11

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

15.2.2.4.12

 
               # File mrblib/00class.rb, line 3
def attr_accessor(*names)
  attr_reader(*names)
  attr_writer(*names)
end
            
include(*args) click to toggle source

15.2.2.4.27

 
               # File mrblib/00class.rb, line 13
def include(*args)
  args.reverse.each do |m|
    m.append_features(self)
    m.included(self)
  end
  self
end
            
prepend(*args) click to toggle source
 
               # File mrblib/00class.rb, line 21
def prepend(*args)
  args.reverse.each do |m|
    m.prepend_features(self)
    m.prepended(self)
  end
  self
end