Skip to main content

convert

Function convert 

Source
pub fn convert(
    source: &str,
    class_name: &str,
    methods: &[String],
) -> Result<ConvertedController, String>
Expand description

methods is the exact (controller, [methods]) list Phase 1 already computed (routes::referenced_controllers) - this module doesn’t re-derive which methods matter, only enriches their stub bodies.