instance method
any_formats?
Ruby on Rails edge
Since edgeSignature
any_formats?(name, prefixes = [], partial = false, keys = [], options = {})
No documentation comment.
Parameters
-
namereq -
prefixesopt = [] -
partialopt = false -
keysopt = [] -
optionsopt = {}
Source
# File actionview/lib/action_view/lookup_context.rb, line 177
def any_formats?(name, prefixes = [], partial = false, keys = [], options = {})
exists?(name, prefixes, partial, keys, **options, formats: default_formats)
end
Defined in actionview/lib/action_view/lookup_context.rb line 177
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LookupContext::ViewPaths