Sha256: 1fa2e296aeac069aa78cb4dd1cb56e758c56a670da19b3019c4f54df3d8ebe82

Contents?: true

Size: 1.24 KB

Versions: 11

Compression:

Stored size: 1.24 KB

Contents

# This file is autogenerated. Do not edit it by hand. Regenerate it with:
#   srb rbi gems

# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
#   https://github.com/sorbet/sorbet-typed/new/master?filename=lib/mini_mime/all/mini_mime.rbi
#
# mini_mime-1.0.1
module MiniMime
  def self.lookup_by_content_type(mime); end
  def self.lookup_by_extension(extension); end
  def self.lookup_by_filename(filename); end
end
class MiniMime::Info
  def [](idx); end
  def binary?; end
  def content_type; end
  def content_type=(arg0); end
  def encoding; end
  def encoding=(arg0); end
  def extension; end
  def extension=(arg0); end
  def initialize(buffer); end
end
class MiniMime::Db
  def initialize; end
  def lookup_by_content_type(content_type); end
  def lookup_by_extension(extension); end
  def self.lookup_by_content_type(content_type); end
  def self.lookup_by_extension(extension); end
  def self.lookup_by_filename(filename); end
end
class MiniMime::Db::Cache
  def []=(key, val); end
  def fetch(key, &blk); end
  def initialize(size); end
end
class MiniMime::Db::RandomAccessDb
  def initialize(name, sort_order); end
  def lookup(val); end
  def lookup_uncached(val); end
  def resolve(row); end
end

Version data entries

11 entries across 3 versions & 1 rubygems

Version Path
sorbet-rails-0.5.0 spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.5.0 spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.5.0 spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.5.0 spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.5.0 spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.4.0 spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.4.0 spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.4.0 spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.4.0 spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.4.0 spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi
sorbet-rails-0.3.0 spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi