# File lib/rspec/matchers/matcher.rb, line 99 def chain(method, &block) self.class.class_eval do define_method method do |*args| block.call(*args) self end end end