class method self.new

Ruby on Rails 6.1.7.10

Since v6.1.7.10 Last seen in v6.1.7.10

Signature

self.new(owner, path, line)

No documentation comment.

Parameters

owner req
path req
line req
Source
# 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

Defined in activemodel/lib/active_model/attribute_methods.rb line 352 · 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