Module: Transpec::Syntax::Mixin::OwnedMatcher
- Extended by:
- ActiveSupport::Concern
- 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
17 18 19 20 21 22 23 |
# File 'lib/transpec/syntax/mixin/owned_matcher.rb', line 17 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 |