Sha256: 51a35775eb28c319c6a0097b7c9d69d736277bd0841b194fffa34d9d5a599385

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# typed: false

require_relative "typed"

# Constant boolean, so won't statically type-check, but `T.unsafe` can't be used
# because we haven't required sorbet-runtime yet
if eval("Mocktail::TYPED", binding, __FILE__, __LINE__)
  require "sorbet-runtime"
else
  require "#{Gem.loaded_specs["sorbet-eraser"].gem_dir}/lib/t"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mocktail-2.0.0 lib/mocktail/sorbet/mocktail/initialize_based_on_type_system_mode_switching.rb