class method
self.node_from_attributes
Ruby on Rails 8.1.2
Since v6.0.6 PrivateSignature
self.node_from_attributes(attributes)
No documentation comment.
Parameters
-
attributesreq
Source
# 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
Defined in actiontext/lib/action_text/attachment.rb line 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachment