Class: Cucumber::Formatter::URLReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/url_reporter.rb

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ URLReporter

Returns a new instance of URLReporter.



4
5
6
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/url_reporter.rb', line 4

def initialize(io)
  @io = io
end

Instance Method Details

#report(banner) ⇒ Object



8
9
10
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/url_reporter.rb', line 8

def report(banner)
  @io.puts(banner)
end