Class: PuppetDebugger::InputResponders::Environment
- Inherits:
-
PuppetDebugger::InputResponderPlugin
- Object
- PuppetDebugger::InputResponderPlugin
- PuppetDebugger::InputResponders::Environment
- Defined in:
- lib/plugins/puppet-debugger/input_responders/environment.rb
Constant Summary collapse
- COMMAND_WORDS =
%w(environment)
- SUMMARY =
'Show the current environment name'
- COMMAND_GROUP =
:context
Instance Attribute Summary
Attributes inherited from PuppetDebugger::InputResponderPlugin
Instance Method Summary collapse
Methods inherited from PuppetDebugger::InputResponderPlugin
command_completion, command_group, command_words, details, execute, #modules_paths, #puppet_debugger_lib_dir, summary
Instance Method Details
#run(args = []) ⇒ Object
9 10 11 |
# File 'lib/plugins/puppet-debugger/input_responders/environment.rb', line 9 def run(args = []) "Puppet Environment: #{debugger.puppet_env_name}" end |