method

from_attachable

from_attachable(attachable, attributes = {})
public

No documentation available.

# File actiontext/lib/action_text/attachment.rb, line 39
      def from_attachable(attachable, attributes = {})
        if node = node_from_attributes(attachable.to_rich_text_attributes(attributes))
          new(node, attachable)
        end
      end