Sha256: fe3cc6f7a46363a8168637017dfa13f9168b361ad4d499716a4fe6b5c5efedfd

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

module Hari
  class Node < Entity
    module Queries
      class Relation
        module Step

          %w(in out).each do |direction|
            define_method direction do |*args|
              Relation.new self, direction, *args
            end
          end

        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hari-0.0.5 lib/hari/node/queries/relation/step.rb
hari-0.0.4 lib/hari/node/queries/relation/step.rb
hari-0.0.3 lib/hari/node/queries/relation/step.rb