= private = protected
chain(method, &block)
See Spec::Matchers
# File lib/spec/matchers/matcher.rb, line 82 def chain(method, &block) self.class.class_eval do define_method method do |*args| block.call(*args) self end end end