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