class Spectator::ExampleIterator
- Spectator::ExampleIterator
- Reference
- Object
Overview
Iterates through all examples in a group and its nested groups. Nodes are iterated in pre-order.
Included Modules
- Iterator(Spectator::Example)
Defined in:
spectator/example_iterator.crConstructors
- 
        .new(group : Node)
        
          Creates a new iterator. 
Instance Method Summary
Instance methods inherited from class Object
  
  
    
      should(matcher, message = nil)
    should, 
    
  
    
      should_eventually(matcher, message = nil)
    should_eventually, 
    
  
    
      should_never(matcher, message = nil)
    should_never, 
    
  
    
      should_not(matcher, message = nil)
    should_not
    
  
    
    
  
Constructor Detail
Creates a new iterator. The group is the example group to iterate through.