Class: Cucumber::Value::ValueResults

Inherits:
Hash
  • Object
show all
Defined in:
lib/cucumber/value/value_results.rb

Overview

Author:

  • Colin Humphreys

Instance Method Summary collapse

Instance Method Details

#outputObject

Outputs whether value was delivered for each feature stored in the Hash



6
7
8
9
10
# File 'lib/cucumber/value/value_results.rb', line 6

def output
  self.each_pair do | feature, delivered |
    puts feature + " : "+ ( delivered ? "Delivered" : "Not delivered" )
  end
end