method
new
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
new(string, symbol = nil, synonyms = [])
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 165 def initialize(string, symbol = nil, synonyms = []) @symbol, @synonyms = symbol, synonyms @string = string end