method

attachment_for_node

attachment_for_node(node, with_full_attributes: true)
private

No documentation available.

# File actiontext/lib/action_text/content.rb, line 121
      def attachment_for_node(node, with_full_attributes: true)
        attachment = ActionText::Attachment.from_node(node)
        with_full_attributes ? attachment.with_full_attributes : attachment
      end