method
to_sym
to_sym()
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 179 def to_sym @symbol || @string.to_sym end