class YARP::WhenNode

def initialize(keyword_loc, conditions, statements, location)

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

type YARP__WhenNode_initialize_conditions = Array[YARP::CallNode] | Array[YARP::ParenthesesNode] | Array[YARP::RegularExpressionNode] | Array[YARP::ConstantReadNode] | Array[YARP::IntegerNode] | Array[YARP::ConstantPathNode] | Array[YARP::SymbolNode] | Array[YARP::StringNode]

def initialize: (YARP::Location keyword_loc, YARP__WhenNode_initialize_conditions conditions, YARP::StatementsNode statements, YARP::Location location) -> void

This signature was generated using 31 samples from 1 application.

def initialize: (keyword_loc: Location, conditions: Array[Node], statements: Node?, location: Location) -> void
def initialize(keyword_loc, conditions, statements, location)
  @keyword_loc = keyword_loc
  @conditions = conditions
  @statements = statements
  @location = location
end