class ClosingComments::Source::Visitor::Spec
Private Instance Methods
visit_current(node)
click to toggle source
Calls superclass method
ClosingComments::Source::Visitor#visit_current
# File lib/closing_comments/source.rb, line 124 def visit_current(node) return super unless node.type == :block block = Commentable::Block.new(node) entities << block if block.commentable? end