Sha256: bb988e1e2bf43e15cd11e8a012da3830200fa995fb65601e66ebe78a5aa331ea
Contents?: true
Size: 576 Bytes
Versions: 7
Compression:
Stored size: 576 Bytes
Contents
# Remarkable core module module Remarkable # A module that keeps all matchers added. This is useful because it allows # to include matchers in Test::Unit as well. module Matchers; end # Helper that includes required Remarkable modules into the given klass. def self.include_matchers!(base, klass) klass.send :extend, Remarkable::Macros if defined?(base::Matchers) klass.send :include, base::Matchers Remarkable::Matchers.send :extend, base::Matchers Remarkable::Matchers.send :include, base::Matchers end end end
Version data entries
7 entries across 7 versions & 1 rubygems