class RuboCop::AST::NodePattern::Node::Repetition

Node class for `int+`

Constants

ARITIES

Public Instance Methods

arity() click to toggle source
# File lib/rubocop/ast/node_pattern/node.rb, line 152
def arity
  ARITIES[operator]
end
operator() click to toggle source
# File lib/rubocop/ast/node_pattern/node.rb, line 142
def operator
  children[1]
end