Sha256: 895764e80c969ca653495df042a76fd2a26b91c91f006c71413affe4a0845853

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

module Nanotest
  class << self
    alias :redgreen__orig_results :results
    def results
      RedGreen.colour = (@@failures.empty?) ? :green : :red
      redgreen__orig_results.strip + "\n" + RedGreen.visual + "\n\n"
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_url_stats-0.0.1 vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/nanotest.rb
mynyml-redgreen-0.7.1 lib/redgreen/nanotest.rb