Class: VisualizePackwerk::TeamNode
- Inherits:
-
T::Struct
- Object
- T::Struct
- VisualizePackwerk::TeamNode
- Extended by:
- T::Sig
- Includes:
- NodeInterface
- Defined in:
- lib/visualize_packwerk/team_node.rb
Instance Method Summary collapse
Methods included from NodeInterface
Instance Method Details
#depends_on?(node_name) ⇒ Boolean
23 24 25 |
# File 'lib/visualize_packwerk/team_node.rb', line 23 def depends_on?(node_name) dependencies.include?(node_name) || (violations_by_node_name[node_name] || 0) > 0 end |
#group_name ⇒ Object
18 19 20 |
# File 'lib/visualize_packwerk/team_node.rb', line 18 def group_name name end |
#violations_by_node_name ⇒ Object
13 14 15 |
# File 'lib/visualize_packwerk/team_node.rb', line 13 def violations_by_node_name violations_by_team end |