Sha256: 70a30a65376c420a68c2560f0d42b3c49018969e52609dfeb30a21f17292cec3

Contents?: true

Size: 331 Bytes

Versions: 10

Compression:

Stored size: 331 Bytes

Contents

class Docu
  attr_accessor :command_result, :command_parameters, :failed, :failure_message
  
  def run_command(command_name="Command Line", command_parameters="")
    @command_parameters = command_parameters
    @command_result || false
  end
  
  def fail_with_message(msg)
    @failed = true
    @failure_message = msg
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
albacore-0.3.6 spec/patches/docu_patch.rb
albacore-1.0.0.rc.2 spec/patches/docu_patch.rb
albacore-1.0.0.rc.1 spec/patches/docu_patch.rb
albacore-0.3.5 spec/patches/docu_patch.rb
albacore-0.3.4 spec/patches/docu_patch.rb
albacore-0.3.3 spec/patches/docu_patch.rb
albacore-0.3.2 spec/patches/docu_patch.rb
albacore-0.3.1 spec/patches/docu_patch.rb
albacore-0.3.0 spec/patches/docu_patch.rb
albacore-0.2.6 spec/patches/docu_patch.rb