Sha256: 7c17ba87477b0d404485c45fa73769e676e37cb9972f9cb4873ef0f8f8693f57

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

module Fear
  class None
    include Option
    include Dry::Equalizer()
    include RightBiased::Left

    # Ignores the given block and return self.
    #
    # @return [None]
    #
    def detect(*)
      self
    end

    # Ignores the given block and return self.
    #
    # @return [None]
    #
    def reject(*)
      self
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fear-0.0.1 lib/fear/none.rb