lib/naplug/plugin.rb
# returns the performance data of the plugin as a PerformanceData object
returns the performance data of the plugin as a PerformanceData object
returns the performance data of the plugin as a PerformanceData object
def perfdata(mode = nil)
      case mode
        when :deep
          plugins.values.map { |p| p.perfdata :deep }.push @_data.perfdata
        else
          @_data.perfdata
      end
    end
def perfdata ( mode = nil ) case mode when :deep plugins . values . map { | p | p . perfdata :deep } . push @_data . perfdata else @_data . perfdata end end
returns the performance data of the plugin as a PerformanceData object
returns the performance data of the plugin as a PerformanceData object
mode