Sha256: 986d8b045879226cb7d074893e12833827c76693eb21d156777ca80c11bfa4d7

Contents?: true

Size: 680 Bytes

Versions: 1

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

require "zeitwerk"
loader = Zeitwerk::Loader.for_gem
loader.setup

module Fear
  Error = Class.new(StandardError)
  public_constant :Error

  IllegalStateException = Class.new(Error)
  public_constant :IllegalStateException

  MatchError = Class.new(Error)
  public_constant :MatchError

  NoSuchElementError = Class.new(Error)
  public_constant :NoSuchElementError

  extend EitherApi
  extend ForApi
  extend FutureApi
  extend OptionApi
  extend PatternMatchingApi
  extend TryApi

  module Mixin
    include Either::Mixin
    include For::Mixin
    include Option::Mixin
    include Try::Mixin
  end

  class << self
    include Mixin
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fear-3.0.0 lib/fear.rb