Sha256: 49b3c91497877a048c9ebca22bbc12f5dcdddeb40db156ac5518dfdb42a798e0

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

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

# typed: strict
#
# 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.2

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
module MiniMime::Configuration
  def self.content_type_db_path; end
  def self.content_type_db_path=(arg0); end
  def self.ext_db_path; end
  def self.ext_db_path=(arg0); 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(path, sort_order); end
  def lookup(val); end
  def lookup_uncached(val); end
  def resolve(row); end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
lazy_migrate-0.3.0 sorbet/rbi/gems/mini_mime.rbi
lazy_migrate-0.2.0 sorbet/rbi/gems/mini_mime.rbi
ledger_tiller_export-0.1.2 sorbet/rbi/gems/mini_mime.rbi
ledger_tiller_export-0.1.1 sorbet/rbi/gems/mini_mime.rbi
ledger_tiller_export-0.1.0 sorbet/rbi/gems/mini_mime.rbi