method
html?
v7.0.0 -
Show latest stable
- Class:
Mime::Type
html?()public
No documentation available.
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 293
def html?
(symbol == :html) || /html/.match?(@string)
end