method
new
new(string, symbol = nil, synonyms = [])
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 166 def initialize(string, symbol = nil, synonyms = []) @symbol, @synonyms = symbol, synonyms @string = string end