Method: Pik::Run#check_args

Defined in:
lib/pik/commands/run_command.rb

#check_argsObject



77
78
79
80
81
# File 'lib/pik/commands/run_command.rb', line 77

def check_args
  if args_required? && @args.empty?
    raise "The #{cmd_name} command must be called with an argument"
  end
end