module SimpleObjects::Attributes::ClassMethods

Public Instance Methods

attributes() click to toggle source
# File lib/mits/v4.1/amenity.rb, line 5
def attributes
  unless @attributes
    @attributes = superclass.attributes if superclass.respond_to? :attributes
    @attributes ||= {}
  end
  @attributes
end