Method: Mime::Type#to_sym
- Defined in:
- lib/action_controller/mime_type.rb
#to_sym ⇒ Object
160 161 162 |
# File 'lib/action_controller/mime_type.rb', line 160 def to_sym @symbol || @string.to_sym end |
160 161 162 |
# File 'lib/action_controller/mime_type.rb', line 160 def to_sym @symbol || @string.to_sym end |