Provides the necessary plumbing to wrap a matcher with a decorator. @private
# File lib/rspec/matchers/matcher_delegator.rb, line 26 def initialize_copy(other) @base_matcher = @base_matcher.clone super end
# File lib/rspec/matchers/matcher_delegator.rb, line 12 def method_missing(*args, &block) base_matcher.__send__(*args, &block) end
Generated with the Darkfish Rdoc Generator 2.