Method: EmailSpec::Matchers.included

Defined in:
lib/email_spec/matchers.rb

.included(base) ⇒ Object



389
390
391
392
393
394
395
# File 'lib/email_spec/matchers.rb', line 389

def self.included base
  if base.respond_to? :register_matcher
    instance_methods.each do |name|
      base.register_matcher name, name
    end
  end
end