class RuboCop::AST::WhenNode

def conditions

Returns:
  • (Array) - an array of condition nodes
def conditions
  node_parts[0...-1]
end