Skip to main content

resolve_ruby_require_to_path

Function resolve_ruby_require_to_path 

Source
pub fn resolve_ruby_require_to_path(
    require_path: &str,
    projects: &[RubyProject],
    current_file_path: Option<&str>,
) -> Option<String>
Expand description

Resolve a Ruby require path to a file path in the project Handles both gem-based requires and relative requires