method

new

rails latest stable - Class: ActiveModel::AttributeMethods::ClassMethods::CodeGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

new(owner, path, line)
public

No documentation available.

# File activemodel/lib/active_model/attribute_methods.rb, line 352
          def initialize(owner, path, line)
            @owner = owner
            @path = path
            @line = line
            @sources = ["# frozen_string_literal: true\n"]
            @renames = {}
          end