class method
self.remote_url?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
self.remote_url?(url)
No documentation comment.
Parameters
-
urlreq
Source
# File actiontext/lib/action_text/attachables/remote_image.rb, line 18
def remote_url?(url)
url && ActionView::Helpers::AssetUrlHelper::URI_REGEXP.match?(url)
end
Defined in actiontext/lib/action_text/attachables/remote_image.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachables::RemoteImage