module RSpec::Hal::Matchers::DocumentMatchers
Public Class Methods
matcher(name, &blk)
click to toggle source
Calls superclass method
# 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