mbj/axiom-arango-adapter

View on GitHub
lib/axiom/adapter/arango/visitor/for/unary.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Axiom
  module Adapter
    module Arango
      class Visitor
        class For 
          # Base class for visitors that emit from unary axiom relations
          class Unary < self

          private

            # Return body
            #
            # @return [AQL::Node]
            #
            # @api private
            #
            def body
              AQL::Node::Block.new([
                operation,
                return_operation
              ])
            end

          end
        end
      end
    end
  end
end