Sha256: 0c93920f93fd32e76fc6697967d8402211e11c658d18d42c90afaeb806e45ac4
Contents?: true
Size: 493 Bytes
Versions: 190
Compression:
Stored size: 493 Bytes
Contents
require 'mspec/runner/formatters/dotted' class FileFormatter < DottedFormatter # Unregisters DottedFormatter#before, #after methods and # registers #load, #unload, which perform the same duties # as #before, #after in DottedFormatter. def register super MSpec.unregister :before, self MSpec.unregister :after, self MSpec.register :load, self MSpec.register :unload, self end alias_method :load, :before alias_method :unload, :after end
Version data entries
190 entries across 166 versions & 4 rubygems