# File lib/virtus/module_extensions.rb, line 30 def attribute(name, type = nil, options = {}) @attribute_definitions << [name, type, options] self end