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, #encode_json, #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



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

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