Skip to content
class method

Prism::WhenNode.new

new(source, node_id, location, flags, keyword_loc, conditions, then_keyword_loc, statements)

Initialize a new WhenNode node.

See also .type #=== also in 3.4 · 3.3