Class: CucumberCharacteristics::Formatter
- Inherits:
-
Object
- Object
- CucumberCharacteristics::Formatter
- Defined in:
- lib/cucumber_characteristics/formatter.rb
Instance Method Summary collapse
-
#after_features(features) ⇒ Object
def after_feature(scenario) end.
-
#initialize(runtime, io, options) ⇒ Formatter
constructor
A new instance of Formatter.
Constructor Details
#initialize(runtime, io, options) ⇒ Formatter
Returns a new instance of Formatter.
5 6 7 8 9 10 |
# File 'lib/cucumber_characteristics/formatter.rb', line 5 def initialize(runtime, io, ) @runtime = runtime @io = io @options = @features = {} end |
Instance Method Details
#after_features(features) ⇒ Object
def after_feature(scenario) end
30 31 32 33 |
# File 'lib/cucumber_characteristics/formatter.rb', line 30 def after_features(features) profile = ProfileData.new(@runtime, features) Exporter.new(profile).export end |