Sha256: 1464feec3b11e6b34f7474389be1dd71df63a9058d611fe68ead2d4b93f80287

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

module Autotest::RCov
  @@command, @@pattern = "rcov", "test/*.rb"

  def self.command= o
    @@command = o
  end

  def self.pattern= o
    @@pattern = o
  end

  Autotest.add_hook :all_good do |at|
    system "rake #{@@command} PATTERN=#{@@pattern}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ZenTest-3.9.2 lib/autotest/rcov.rb