class RuboCop::AST::DefinedNode

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

Public Instance Methods

node_parts() click to toggle source
# File lib/rubocop/ast/node/defined_node.rb, line 12
def node_parts
  [nil, :defined?, *to_a]
end