Module: RailsVisualizer::PathHelper
- Included in:
- ControllersInspector, Introspector, JobsInspector, MailersInspector, MigrationsInspector, Schema::ModelInspector
- Defined in:
- lib/rails_visualizer/path_helper.rb
Overview
Shared helper for resolving the actual source file of a Ruby constant. Uses Module.const_source_location (Ruby 2.7+) and returns a path relative to Rails.root so it is portable across machines.