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