Flowdock
method

create_generated_attribute

Importance_1
v3.2.13 - Show latest stable - 0 notes - Class: Rails::Generators::TestCase
create_generated_attribute(attribute_type, name = 'test', index = nil) public

Create a Rails::Generators::GeneratedAttribute by supplying the attribute type and, optionally, the attribute name:

create_generated_attribute(:string, 'name')
Show source
Register or log in to add new notes.