ManageIQ/manageiq-ui-classic

View on GitHub
app/presenters/tree_builder_diagnostics.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class TreeBuilderDiagnostics < TreeBuilder
  attr_reader :root

  def initialize(name, sandbox, build = true, **params)
    @root = params[:root]
    super(name, sandbox, build)
  end

  private

  def tree_init_options
    {:open_all => true, :click_url => "/ops/diagnostics_tree_select/", :onclick => "miqOnClickDiagnostics"}
  end
end