Class: Mime::Mimes

Inherits:
Array show all
Defined in:
actionpack/lib/action_dispatch/http/mime_type.rb

Instance Method Summary collapse

Methods inherited from Array

#as_json, #deep_dup, #extract_options!, #fifth, #forty_two, #fourth, #from, #in_groups, #in_groups_of, #second, #split, #third, #to, #to_formatted_s, #to_param, #to_query, #to_sentence, #to_xml, wrap

Instance Method Details

#symbolsObject



8
9
10
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 8

def symbols
  @symbols ||= map { |m| m.to_sym }
end