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