Skip to content
Snippets Groups Projects
Commit c43407f4 authored by Markus Reiter's avatar Markus Reiter
Browse files

Document `FormulaAudit::Version`.

parent 7630cee8
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@ require "rubocops/extend/formula"
module RuboCop
module Cop
module FormulaAudit
# This cop makes sure that a version is in the correct format.
#
# @api private
class Version < FormulaCop
def audit_formula(_node, _class_node, _parent_class_node, body_node)
version_node = find_node_method_by_name(body_node, :version)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment