Module: RSpec::Hal::Matchers::Document
- Extended by:
- Matchers::DSL
- Defined in:
- lib/rspec/hal/matchers.rb
Defined Under Namespace
Modules: ForwardCompat
Class Method Summary collapse
Class Method Details
.matcher(name, &blk) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/rspec/hal/matchers.rb', line 19 def matcher(name, &blk) super name do |*args| extend ForwardCompat unless respond_to? :failure_message self.instance_exec *args, &blk end end |