Cucumber colored output changes depending on where I print text
问题 When I print output straight from the Given/When/Then statements of cucumber, it prints in a nice blue text, however if I call into any other function and print within there, it prints in red (and not indented) Sample feature: Feature: Foo Scenario: Foo2 Given something Then something else Sample step_def: Given /^something$/ do puts "Pretty blue" end class AnyClass def doSomething puts "Scary red" end end Then /^something else$/ do AnyClass.new.doSomething end In the below sample output,