Sha256: d48e01bd6ca698b61c2c8582fa9f438894477662e46a8ceb0fca443b04730e0a
Contents?: true
Size: 831 Bytes
Versions: 25
Compression:
Stored size: 831 Bytes
Contents
module TP module Person def self.route_conditions(graph) { :type => 'person' } end module Route def projects out_e.in_v(Project) end end end class Project def self.route_conditions(graph) { :type => 'project' } end module Route def people in_e.out_v(Person) end end end class Pangloss def self.route(base) base.v(:name => 'pangloss') end end module Coder module Route def projects out(Project, Software) end end end module Software module Route def coders self.in(Coder) end end end module Wrote def self.route_conditions(graph) { label: 'wrote' } end module Edge def writer out_vertex end end end end
Version data entries
25 entries across 25 versions & 1 rubygems