Module: Dopi::CommandParser::Arguments

Included in:
Dopi::Command::Custom, Dopi::Command::Ssh::Custom, Dopi::Command::Winrm::Cmd, PuppetRun
Defined in:
lib/dopi/command_parser/arguments.rb

Instance Method Summary collapse

Instance Method Details

#argumentsObject



12
13
14
# File 'lib/dopi/command_parser/arguments.rb', line 12

def arguments
  arguments_valid? ? parse_arguments : ""
end

#validate_argumentsObject



8
9
10
# File 'lib/dopi/command_parser/arguments.rb', line 8

def validate_arguments
  log_validation_method('arguments_valid?', CommandParsingError)
end