class ModelWithAttributes2

Attributes

attributes[RW]

Protected Instance Methods

protected_method() click to toggle source
# File activemodel/test/cases/attribute_methods_test.rb, line 44
def protected_method
  "O_o O_o"
end

Private Instance Methods

attribute(name) click to toggle source
# File activemodel/test/cases/attribute_methods_test.rb, line 32
def attribute(name)
  attributes[name.to_s]
end
Also aliased as: attribute_test
attribute_test(name)
Alias for: attribute
private_method() click to toggle source
# File activemodel/test/cases/attribute_methods_test.rb, line 38
def private_method
  "<3 <3"
end