Predicate Routing::underscore
Convert a camel-case string to underscore case. Converts :: to /.
This can be used to convert ActiveRecord controller names to a canonical form that matches the routes they handle.
Note: All-uppercase words like CONSTANT are not handled correctly.
Import path
import codeql.ruby.frameworks.actiondispatch.internal.Routingstring underscore(string base)