Method: Cucumber::RbSupport::RbWorld#announce
- Defined in:
- lib/cucumber/rb_support/rb_world.rb
#announce(announcement) ⇒ Object
Output announcement
alongside the formatted output. This is an alternative to using Kernel#puts - it will display nicer, and in all outputs (in case you use several formatters)
Beware that the output will be printed before the corresponding step. This is because the step itself will not be printed until after it has run, so it can be coloured according to its status.
64 65 66 |
# File 'lib/cucumber/rb_support/rb_world.rb', line 64 def announce(announcement) @__cucumber_step_mother.announce(announcement) end |