method
node_from_attributes
v7.2.3 -
Show latest stable
- Class:
ActionText::Attachment
node_from_attributes(attributes)private
No documentation available.
# File actiontext/lib/action_text/attachment.rb, line 52
def node_from_attributes(attributes)
if attributes = process_attributes(attributes).presence
ActionText::HtmlConversion.create_element(tag_name, attributes)
end
end