Sha256: e40e6826ea4803551b56fc3ebee64ef96205ca73787c451a44750aa94703499d

Contents?: true

Size: 332 Bytes

Versions: 14

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module GFSM
  module Commands
    class BaseCommand
      attr_reader :stdout, :stderr

      def initialize(stdout: GFSM::Output, stderr: GFSM::Output)
        @stdout = stdout
        @stderr = stderr
      end

      def run(args = [])
        raise NotImplementedError
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gfsm-0.8.0 lib/commands/base_command.rb
gfsm-0.7.0 lib/commands/base_command.rb
gfsm-0.6.0 lib/commands/base_command.rb
gfsm-0.5.1 lib/commands/base_command.rb
gfsm-0.5.0 lib/commands/base_command.rb
gfsm-0.4.1 lib/commands/base_command.rb
gfsm-0.4.0 lib/commands/base_command.rb
gfsm-0.3.2 lib/commands/base_command.rb
gfsm-0.3.1 lib/commands/base_command.rb
gfsm-0.3.0 lib/commands/base_command.rb
gfsm-0.2.0 lib/commands/base_command.rb
gfsm-0.1.4 lib/commands/base_command.rb
gfsm-0.1.3 lib/commands/base_command.rb
gfsm-0.1.2 lib/commands/base_command.rb