Method: N4j::Traversal#inbound

Defined in:
lib/n4j/traversal.rb

#inbound(type) ⇒ Object



22
23
24
25
26
# File 'lib/n4j/traversal.rb', line 22

def inbound(type)
  self.relationships ||= []
  self.relationships << {'direction' => 'in', 'type' => type}
  self
end