class Climatic::Script::Simple
Public Class Methods
new()
click to toggle source
# File lib/climatic/script/simple.rb, line 10 def initialize register_processor end
Public Instance Methods
register_processor(commands = cmd_line_mngr.commands, processor = self)
click to toggle source
# File lib/climatic/script/simple.rb, line 14 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 Instance Methods
cmd_line_mngr()
click to toggle source
# File lib/climatic/script/simple.rb, line 23 def cmd_line_mngr Climatic.config.command_line_layer.command_line_manager end