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