method

rails_root

rails latest stable - Class: ActionView::StructuredEventSubscriber::Utils

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

rails_root()
private

No documentation available.

# File actionview/lib/action_view/structured_event_subscriber.rb, line 66
        def rails_root # :doc:
          @root ||= Rails.try(:root)
        end