Sha256: 2f2beff54021d15e07e6c8cba311653e5f2b3ff48fdcd3f206d164018a6682cc

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

# typed: true
# frozen_string_literal: true

module Mangrove
  module Result
    module Ext
      extend T::Sig

      def in_ok
        Mangrove::Result::Ok.new(self)
      end

      def in_err
        Mangrove::Result::Err.new(self)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mangrove-0.35.0 lib/mangrove/result/ext.rb