class Tapioca::Dsl::Compilers::StateMachines

def define_path_helpers(instance_module, machine)

def define_path_helpers(instance_module, machine)
  paths_attribute = machine.attribute(:paths).to_s
  instance_module.create_method(
    paths_attribute,
    parameters: [create_rest_param("args", type: "T.untyped")],
    return_type: "T::Array[::StateMachines::Transition]",
  )
end