Sha256: 893ba683a32200223ee0f4669bd4583a63e35984cc54b473ebdf4f5188090747

Contents?: true

Size: 265 Bytes

Versions: 21

Compression:

Stored size: 265 Bytes

Contents

module Approvals
  class Executable

    attr_accessor :command, :on_failure
    def initialize(command, &block)
      self.command = command
      self.on_failure = block
    end

    def to_s
      inspect
    end

    def inspect
      command
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
approvals-0.0.6 lib/approvals/utilities/executable.rb