method

to_dep_map

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: Node
to_dep_map(seen = Set.new.compare_by_identity) public

No documentation

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

Hide source
# File actionview/lib/action_view/digestor.rb, line 110
      def to_dep_map(seen = Set.new.compare_by_identity)
        if seen.add?(self)
          children.any? ? { name => children.map { |c| c.to_dep_map(seen) } } : name
        else # the tree has a cycle
          name
        end
      end
Register or log in to add new notes.