Class: PrismChecker::Node::Expectation

Inherits:
Base
  • Object
show all
Defined in:
lib/prism_checker/node/expectation.rb

Instance Attribute Summary

Attributes inherited from Base

#checker, #error, #expectation, #name, #parent, #status

Instance Method Summary collapse

Methods inherited from Base

#build_expectation, #check, #check_absence, #check_wrapper, #element, #failure?, #initialize, #path, #root?, #success?, #type, #wait_until_true

Constructor Details

This class inherits a constructor from PrismChecker::Node::Base

Instance Method Details

#walk_through(level = 0) {|_self, level| ... } ⇒ Object

Yields:

  • (_self, level)

Yield Parameters:



10
11
12
# File 'lib/prism_checker/node/expectation.rb', line 10

def walk_through(level = 0)
  yield self, level
end