lib/her/model/attributes.rb
# Define the attributes that will be used to track dirty attributes and
# validations
#
# @param [Array] attributes
# @example
#   class User
#     include Her::Model
#     attributes :name, :email
#   end
Define the attributes that will be used to track dirty attributes and
validations
Define the attributes that will be used to track dirty attributes and validations
def attributes(*attributes)
          attribute_methods_mutex.synchronize do
            define_attribute_methods attributes
          end
        end
def attributes ( * attributes ) attribute_methods_mutex . synchronize do define_attribute_methods attributes end end
Define the attributes that will be used to track dirty attributes and
validations
Define the attributes that will be used to track dirty attributes and validations
attributes
<not_specific>
<not_specific>
None
example
class User include Her::Model attributes :name, :email end
class User include Her :: Model attributes : name : email end