method
new
v3.0.0 -
Show latest stable
- Class:
Rails::Generators::GeneratedAttribute
new(name, type)public
No documentation available.
# File railties/lib/rails/generators/generated_attribute.rb, line 8
def initialize(name, type)
@name, @type = name, type.to_sym
end