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, #encode_json, #extract_options!, #fifth, #forty_two, #fourth, #from, #in_groups, #in_groups_of, #sample, #second, #split, #third, #to, #to_formatted_s, #to_param, #to_query, #to_sentence, #to_xml, #uniq_by, #uniq_by!, wrap

Instance Method Details

- (Object) symbols



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

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