Methods
A
N
P
S
Included Modules
Attributes
[RW] address
[RW] age
[RW] awesome
[RW] contact
[RW] created_at
[RW] friends
[RW] id
[RW] name
[RW] preferences
Class Public methods
new(options = {})
# File activemodel/test/models/contact.rb, line 20
def initialize(options = {})
  options.each { |name, value| send("#{name}=", value) }
end
Instance Public methods
attributes()
# File activemodel/test/models/contact.rb, line 38
def attributes
  instance_values.except("address", "friends", "contact")
end
attributes=(hash)
# File activemodel/test/models/contact.rb, line 32
def attributes=(hash)
  hash.each do |k, v|
    instance_variable_set("@#{k}", v)
  end
end
network()
# File activemodel/test/models/contact.rb, line 16
def network
  { git: :github }
end
persisted?()
# File activemodel/test/models/contact.rb, line 28
def persisted?
  id
end
pseudonyms()
# File activemodel/test/models/contact.rb, line 24
def pseudonyms
  nil
end
social()
# File activemodel/test/models/contact.rb, line 12
def social
  %w(twitter github)
end