method

delete_if

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Mime::Mimes
delete_if() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 28
    def delete_if
      @mimes.delete_if do |x|
        if yield x
          sym_type = x.to_sym
          @symbols.delete(sym_type)
          @symbols_set.delete(sym_type)
          true
        end
      end
    end
Register or log in to add new notes.