edge badge
Methods
#
D
E
N
Included Modules
Attributes
[R] symbols
Class Public methods
new()
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 12
def initialize
  @mimes = []
  @symbols = []
end
Instance Public methods
<<(type)
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 21
def <<(type)
  @mimes << type
  @symbols << type.to_sym
end
delete_if()
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 26
def delete_if
  @mimes.delete_if do |x|
    if yield x
      @symbols.delete(x.to_sym)
      true
    end
  end
end
each()
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 17
def each
  @mimes.each { |x| yield x }
end