Module: RSpec::Hal::Matchers::DocumentMatchers
Defined Under Namespace
Modules: ForwardCompat
Class Method Summary collapse
Class Method Details
.matcher(name, &blk) ⇒ Object
74 75 76 77 78 79 80 |
# File 'lib/rspec/hal/matchers.rb', line 74 def matcher(name, &blk) super name do |*args| extend ForwardCompat unless respond_to? :failure_message self.instance_exec *args, &blk end end |