instance method execute

Ruby on Rails 6.1.7.10

Since v6.1.7.10 Last seen in v6.1.7.10

Signature

execute()

No documentation comment.

Source
# 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

Defined in activemodel/lib/active_model/attribute_methods.rb line 368 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::AttributeMethods::ClassMethods::CodeGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close