module Rails

def root

Experimental RBS support (using type sampling data from the type_fusion project).

def root: () -> untyped

This signature was generated using 1 sample from 1 application.

# => #
Rails.root

otherwise it returns +nil+ if there is no project:
Returns a Pathname object of the current Rails project,
def root
  application && application.config.root
end