class ActionView::Digestor
def nested_dependencies
def nested_dependencies dependencies.collect do |dependency| dependencies = PartialDigestor.new(name: dependency, finder: finder).nested_dependencies dependencies.any? ? { dependency => dependencies } : dependency end end