Skip to content

Commit

Permalink
Remove unrelated comments from ConstNode.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvandersluis authored and marcandre committed Aug 12, 2021
1 parent 74bc80a commit ffd025c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rubocop/ast/node/const_node.rb
Expand Up @@ -4,8 +4,6 @@ module RuboCop
module AST
# A node extension for `const` nodes.
class ConstNode < Node
# The `send` node associated with this block.
#
# @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...)
def namespace
children[0]
Expand All @@ -16,8 +14,6 @@ def short_name
children[1]
end

# The body of this block.
#
# @return [Boolean] if the constant is a Module / Class, according to the standard convention.
# Note: some classes might have uppercase in which case this method
# returns false
Expand Down

0 comments on commit ffd025c

Please sign in to comment.