method

generate_class_tree_level

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: API
generate_class_tree_level(classes, visited = {}) public

No documentation

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

Hide source
# File railties/lib/rails/api/generator.rb, line 6
  def generate_class_tree_level(classes, visited = {})
    # Only process core extensions on the first visit.
    if visited.empty?
      core_exts, classes = classes.partition { |klass| core_extension?(klass) }

      super.unshift([ "Core extensions", "", "", build_core_ext_subtree(core_exts, visited) ])
    else
      super
    end
  end
Register or log in to add new notes.