instance method
append_attachables
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
append_attachables(attachables)
No documentation comment.
Parameters
-
attachablesreq
Source
# File actiontext/lib/action_text/content.rb, line 55
def append_attachables(attachables)
attachments = ActionText::Attachment.from_attachables(attachables)
self.class.new([self.to_s.presence, *attachments].compact.join("\n"))
end
Defined in actiontext/lib/action_text/content.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Content