class method
self.mime_types_implementation=
Ruby on Rails 7.1.6
Since v7.1.6Signature
self.mime_types_implementation=(implementation)
No documentation comment.
Parameters
-
implementationreq
Source
# File actionview/lib/action_view/template.rb, line 171
def mime_types_implementation=(implementation)
# This method isn't thread-safe, but it's not supposed
# to be called after initialization
if self::Types != implementation
remove_const(:Types)
const_set(:Types, implementation)
end
end
Defined in actionview/lib/action_view/template.rb line 171
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Template