oleander/remap

View on GitHub
lib/remap/mapper/binary.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Remap
  class Mapper
    # @abstract
    class Binary < self
      include API

      attribute :left, Types::Mapper
      attribute :right, Types::Mapper

      # @return [Bool]
      def validate?
        left.validate? && right.validate?
      end
    end
  end
end