Makina.Model.Attribute.new
You're seeing just the function
new
, go back to Makina.Model.Attribute module for more information.
Link to this function
new(name, init)
Specs
Creates a new attribute from a given name and expression, if the expression does not contain a
type declaration its type is initialized to any()
.