class Prism::WhenNode

def compact_child_nodes

Experimental RBS support (using type sampling data from the type_fusion project).

def compact_child_nodes: () -> (Array[Prism::ConstantPathNode] | Array[Prism::ConstantReadNode])

This signature was generated using 2 samples from 1 application.

def compact_child_nodes: () -> Array[Node]
def compact_child_nodes
  compact = []
  compact.concat(conditions)
  compact << statements if statements
  compact
end