module ActiveModel::AttributeReader::ClassMethods

Public Instance Methods

attr_reader(*vars) click to toggle source
Calls superclass method
# File lib/active_model/attribute_reader.rb, line 22
def attr_reader(*vars)
  attribute_readers.concat(vars)
  super
end
attribute_readers() click to toggle source
# File lib/active_model/attribute_reader.rb, line 27
def attribute_readers
  @@attribute_readers ||= []
end