class AttributeAssignmentTest::Model
Attributes
description[RW]
metadata[W]
TODO Change this to private once we've dropped Ruby 2.2 support. Workaround for Ruby 2.2 “private attribute?” warning.
name[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File activemodel/test/cases/attribute_assignment_test.rb, line 13 def initialize(attributes = {}) assign_attributes(attributes) end
Public Instance Methods
broken_attribute=(value)
click to toggle source
# File activemodel/test/cases/attribute_assignment_test.rb, line 17 def broken_attribute=(value) raise ErrorFromAttributeWriter end