Sha256: 1534d14e06609628e005eb8f5bb12a7ac1f1d8dca25bb7f1d5a77859a4d30a7e
Contents?: true
Size: 598 Bytes
Versions: 14
Compression:
Stored size: 598 Bytes
Contents
module Climatic module Script class Simple include Climatic::Script::UnimplementedProcessor include Climatic::Script::Base def initialize register_processor end def register_processor(commands = cmd_line_mngr.commands, processor = self) commands = [commands] unless commands.is_a? Array commands.each do |command| cmd_line_mngr.register_processor command, processor end end private def cmd_line_mngr Climatic.config.command_line_layer.command_line_manager end end end end
Version data entries
14 entries across 14 versions & 1 rubygems