method

common_path

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Core
common_path(paths) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/evented_file_update_checker.rb, line 165
      def common_path(paths)
        paths.map { |path| path.ascend.to_a }.reduce(&:&)&.first
      end
Register or log in to add new notes.