# Copyright 2018 Opening Reproducible Research (https://o2r.info)

#' Arg-instruction class yet to be implemented
#' @include Class-Instruction.R
#'
#' See official documentation at \url{https://docs.docker.com/engine/reference/builder/#arg}.
#'
#' @return object
#' @family instruction classes
#' @examples
#' #no example yet
setClass("Arg", contains = "Instruction")

#' Arg constructor yet to be implemented
#'
#' @param ... fields yet to be implemented
#'
#' @return the object
#' @examples
#' #no example yet
Arg <- function(...) {
  stop("Constructor not yet implemented for this class.")
}

setMethod("docker_arguments",
          signature(obj = "Arg"),
          function(obj) {
            stop("The generic function docker_arguments is not implemented for class ",
                 class(obj))
          })
