Module: RuboCop::AST::NodePattern::Node::ForbidInSeqHead
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/rubocop/ast/node_pattern/node.rb |
Instance Method Summary
Instance Method Details
#in_sequence_head
# File 'lib/rubocop/ast/node_pattern/node.rb', line 86
def in_sequence_head raise NodePattern::Invalid, "A sequence can not start with a #{type}" end