Sha256: 6b058c5660e2a67365d9e7363c11236fbcdaa45591cb57071dd6023f6f1f69ab

Contents?: true

Size: 369 Bytes

Versions: 21

Compression:

Stored size: 369 Bytes

Contents

require 'puppet-debugger/input_responder_plugin'
module PuppetDebugger
  module InputResponders
    class Classes < InputResponderPlugin
      COMMAND_WORDS = %w(classes)
      SUMMARY = 'List all the classes current in the catalog.'
      COMMAND_GROUP = :scope

      def run(args = [])
        debugger.scope.compiler.catalog.classes.ai
      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
puppet-debugger-0.7.0 lib/plugins/puppet-debugger/input_responders/classes.rb