lib/plugins/puppet-debugger/input_responders/classification.rb in puppet-debugger-0.19.0 vs lib/plugins/puppet-debugger/input_responders/classification.rb in puppet-debugger-1.0.0
- old
+ new
@@ -1,13 +1,15 @@
+# frozen_string_literal: true
+
require 'puppet-debugger/input_responder_plugin'
module PuppetDebugger
module InputResponders
class Classification < InputResponderPlugin
- COMMAND_WORDS = %w(classification)
+ COMMAND_WORDS = %w[classification].freeze
SUMMARY = 'Show the classification details of the node.'
COMMAND_GROUP = :node
- def run(args = [])
+ def run(_args = [])
debugger.node.classes.ai
end
end
end
end