Sha256: 28fd105907c39fd16ed3c108453d18544d50ec6b36bf65c3f03e277dd7793cd0

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

module Mockolate::Register
  @@types = {}

  def self.set(type, type_module)
    @@types[type] = type_module
  end

  def self.get(type)
    @@types[type]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mockolate-0.1.0 lib/mockolate/register.rb