Sha256: 650f6b6ad7226b468f78f3275af4fa082bd7aee311a56e66af898e19ae77453e

Contents?: true

Size: 174 Bytes

Versions: 2

Compression:

Stored size: 174 Bytes

Contents

module SystemPatch    
  attr_accessor :system_command
  
  def system(cmd)
    @system_command = cmd
    return !@fail
  end

  def force_failure
    @fail = true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 spec/patch/system_patch.rb
albacore-1.0.0.rc.3 spec/patch/system_patch.rb