method

depth

rails latest stable - Class: Rails::Generators::ScriptGenerator

Method not available on this version

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

depth()
private

No documentation available.

# File railties/lib/rails/generators/rails/script/script_generator.rb, line 13
        def depth
          class_path.size + 1
        end