class MIME::Type::Columnar
A version of MIME::Type
that works hand-in-hand with a MIME::Types::Columnar
container to load data by columns.
When a field is has not yet been loaded, that data will be loaded for all types in the container before forwarding the message to MIME::Type
.
More information can be found in MIME::Types::Columnar
.
MIME::Type::Columnar
is not intended to be created except by MIME::Types::Columnar
containers.
Public Instance Methods
Calls superclass method
# File lib/mime/type/columnar.rb, line 56 def update_sort_priority if @container.__fully_loaded? super else obsolete = (@__sort_priority & (1 << 7)) != 0 registered = (@__sort_priority & (1 << 5)) == 0 @__priority_penalty = (obsolete ? 3 : 0) + (registered ? 0 : 2) end end