method
from_attributes
v8.1.1 -
Show latest stable
- Class:
ActionText::Attachment
from_attributes(attributes, attachable = nil)public
No documentation available.
# File actiontext/lib/action_text/attachment.rb, line 45
def from_attributes(attributes, attachable = nil)
if node = node_from_attributes(attributes)
from_node(node, attachable)
end
end