Sha256: b4aba5851551dc7cd3e8da48fbdd0b9e92d5cd8fafb773213c8d072e665dbc70
Contents?: true
Size: 246 Bytes
Versions: 28
Compression:
Stored size: 246 Bytes
Contents
module Mocha module Debug OPTIONS = (ENV['MOCHA_OPTIONS'] || '').split(',').inject({}) do |hash, key| hash[key] = true; hash end.freeze def self.puts(message) $stderr.puts(message) if OPTIONS['debug'] end end end
Version data entries
28 entries across 24 versions & 5 rubygems