lib/sorbet-result.rb in sorbet-result-1.0.0 vs lib/sorbet-result.rb in sorbet-result-1.1.0
- old
+ new
@@ -2,13 +2,9 @@
# rubocop:enable Naming/FileName
# typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
-require "zeitwerk"
+require_relative "typed/result"
# Sorbet-aware namespace to super-charge your projects
module Typed; end
-
-loader = Zeitwerk::Loader.new
-loader.push_dir("#{__dir__}/typed", namespace: Typed)
-loader.setup