class RuboCop::AST::OrAsgnNode

A node extension for `op_asgn` nodes. This will be used in place of a plain node when the builder constructs the AST, making its methods available to all assignment nodes within RuboCop.

Public Instance Methods

operator() click to toggle source

The operator being used for assignment as a symbol.

@return [Symbol] the assignment operator

# File lib/rubocop/ast/node/or_asgn_node.rb, line 12
def operator
  :'||'
end