Module: Sanity::Attributable::ClassMethods

Defined in:
lib/sanity/attributable.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject



21
22
23
# File 'lib/sanity/attributable.rb', line 21

def attributes
  @attributes ||= []
end

#default_attributesObject



25
26
27
# File 'lib/sanity/attributable.rb', line 25

def default_attributes
  @defaults ||= {}
end