class method
self.new
Ruby on Rails 7.0.10
Since v6.0.6Signature
self.new(node, attachable)
No documentation comment.
Parameters
-
nodereq -
attachablereq
Source
# File actiontext/lib/action_text/attachment.rb, line 55
def initialize(node, attachable)
@node = node
@attachable = attachable
end
Defined in actiontext/lib/action_text/attachment.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachment