Flowdock
method

from_attachable

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Attachment
from_attachable(attachable, attributes = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/attachment.rb, line 26
      def from_attachable(attachable, attributes = {})
        if node = node_from_attributes(attachable.to_rich_text_attributes(attributes))
          new(node, attachable)
        end
      end
Register or log in to add new notes.