Sha256: 2ce79a84cd47858eeeae8d739bd3209f675e7fc7329b096c665a433a647181fa

Contents?: true

Size: 927 Bytes

Versions: 6

Compression:

Stored size: 927 Bytes

Contents

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `marcel` gem.
# Please instead update this file by running `dev typecheck update`.

# typed: true

module Marcel
end

class Marcel::MimeType
  class << self
    def extend(type, extensions: T.unsafe(nil), parents: T.unsafe(nil), magic: T.unsafe(nil)); end
    def for(pathname_or_io = T.unsafe(nil), name: T.unsafe(nil), extension: T.unsafe(nil), declared_type: T.unsafe(nil)); end

    private

    def for_data(pathname_or_io); end
    def for_declared_type(declared_type); end
    def for_extension(extension); end
    def for_name(name); end
    def most_specific_type(from_magic_type, fallback_type); end
    def parse_media_type(content_type); end
    def root_types(type); end
    def with_io(pathname_or_io, &block); end
  end
end

Marcel::MimeType::BINARY = T.let(T.unsafe(nil), String)

Marcel::VERSION = T.let(T.unsafe(nil), String)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
packwerk-1.1.2 sorbet/rbi/gems/marcel@0.3.3.rbi
packwerk-1.1.1 sorbet/rbi/gems/marcel@0.3.3.rbi
packwerk-1.1.0 sorbet/rbi/gems/marcel@0.3.3.rbi
packwerk-1.0.2 sorbet/rbi/gems/marcel@0.3.3.rbi
packwerk-1.0.1 sorbet/rbi/gems/marcel@0.3.3.rbi
packwerk-1.0.0 sorbet/rbi/gems/marcel@0.3.3.rbi