Sha256: 9a21b274bb168cca50bc02c662b54d6e30d57fd0c684ec9ea474fb6030b28108
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true require_relative './command' module Dru class ContainerCommand < Command def initialize(command:, options:) raise MissingContainerError unless options[:container] @options = options @command = command || [] end def execute(input: $stdin, output: $stdout) raise NotImplementedError end protected def container options[:container] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dru-0.3.1 | lib/dru/container_command.rb |