lib/axiom/relation/operation/unary.rb

Summary

Maintainability
A
0 mins
Test Coverage
# encoding: utf-8

module Axiom
  class Relation
    module Operation

      # A mixin for Unary relations
      module Unary
        include Axiom::Operation::Unary

        # Initialize a Unary relation
        #
        # @return [undefined]
        #
        # @api private
        def initialize(*)
          super
          @header = operand.header
        end

      end # module Unary
    end # module Operation
  end # class Relation
end # module Axiom