Module: Transpec::Syntax::Mixin::OwnedMatcher
- Extended by:
- ActiveSupport::Concern
- Included in:
- Have, Operator, RaiseError, Receive
- Defined in:
- lib/transpec/syntax/mixin/owned_matcher.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#initialize(node, expectation, source_rewriter = nil, runtime_data = nil, report = nil) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/transpec/syntax/mixin/owned_matcher.rb', line 21 def initialize(node, expectation, source_rewriter = nil, runtime_data = nil, report = nil) @node = node @expectation = expectation @source_rewriter = source_rewriter @runtime_data = runtime_data @report = report || Report.new end |