Sha256: 332b03443ba3e02057eb7a7e3cb8b9ceffe7f4c2419d408de5b210e10a5c7cf7

Contents?: true

Size: 304 Bytes

Versions: 10

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Lite
  module Command
    class Step

      attr_reader :command, :options

      def initialize(command, options)
        @command = command
        @options = options
      end

      def run?(cmd)
        Utils.evaluate(cmd, options)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lite-command-3.2.1 lib/lite/command/step.rb
lite-command-3.2.0 lib/lite/command/step.rb
lite-command-3.1.5 lib/lite/command/step.rb
lite-command-3.1.4 lib/lite/command/step.rb
lite-command-3.1.3 lib/lite/command/step.rb
lite-command-3.1.2 lib/lite/command/step.rb
lite-command-3.1.1 lib/lite/command/step.rb
lite-command-3.1.0 lib/lite/command/step.rb
lite-command-3.0.1 lib/lite/command/step.rb
lite-command-3.0.0 lib/lite/command/step.rb