method
from_node
v7.2.3 -
Show latest stable
- Class:
ActionText::Attachables::RemoteImage
from_node(node)public
No documentation available.
# File actiontext/lib/action_text/attachables/remote_image.rb, line 11
def from_node(node)
if node["url"] && content_type_is_image?(node["content-type"])
new(attributes_from_node(node))
end
end