class method
self.new
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10Signature
self.new(owner, path, line)
No documentation comment.
Parameters
-
ownerreq -
pathreq -
linereq
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