method
execute
v6.1.3.1 -
Show latest stable
- Class:
ActiveModel::AttributeMethods::ClassMethods::CodeGenerator
execute()public
No documentation available.
# File activemodel/lib/active_model/attribute_methods.rb, line 368
def execute
@owner.module_eval(@sources.join(";"), @path, @line - 1)
@renames.each do |old_name, new_name|
@owner.alias_method new_name, old_name
@owner.undef_method old_name
end
end