acts_as_graph_vertex 1.1.0
Simple mixin for adding graph like functions (parents, children, traversal, etc) to any class. Effectively, you'll get DAG (directed acyclic graph) behaviour between your classes and therefore the ability to model parent, child and sibling behaviours with ease!
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Development 依赖 (6):
coveralls
~> 0.8.22
filewatcher
>= 1.1.1, ~> 1.1
pry-byebug
>= 3.6.0, ~> 3.6
rspec
>= 3.8.0, ~> 3.8
rubocop
~> 0.59.2
rubocop-rspec
>= 1.29.1, ~> 1.29