Module: GraphHelper
- Defined in:
- app/helpers/graph_helper.rb
Instance Method Summary collapse
- #parents_zip_spaces(parents, parent_spaces) ⇒ Object
- #refs(repo, commit) ⇒ Object
- #should_render_quality_summary ⇒ Object
Instance Method Details
#parents_zip_spaces(parents, parent_spaces) ⇒ Object
10 11 12 13 |
# File 'app/helpers/graph_helper.rb', line 10 def parents_zip_spaces(parents, parent_spaces) ids = parents.map(&:id) ids.zip(parent_spaces) end |
#refs(repo, commit) ⇒ Object
4 5 6 7 8 |
# File 'app/helpers/graph_helper.rb', line 4 def refs(repo, commit) refs = [commit.ref_names(repo).join(' ')] refs.join end |
#should_render_quality_summary ⇒ Object
15 16 17 |
# File 'app/helpers/graph_helper.rb', line 15 def should_render_quality_summary false end |