Sha256: 6b4ead738b899a195a05f91f10e10dd7835f12aa52288e2c0bae512678d8e010
Contents?: true
Size: 434 Bytes
Versions: 9
Compression:
Stored size: 434 Bytes
Contents
require 'puppet-debugger/input_responder_plugin' module PuppetDebugger module InputResponders class Functions < InputResponderPlugin COMMAND_WORDS = %w(functions) SUMMARY = 'List all the functions available in the environment.' COMMAND_GROUP = :environment def run(args = []) filter = args.first || '' function_map.keys.sort.grep(/^#{Regexp.escape(filter)}/) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems