class Gherkin::Formatter::PrettyFormatter::ColorFormat
Public Class Methods
new(status)
click to toggle source
# File lib/gherkin/formatter/pretty_formatter.rb, line 126 def initialize(status) @status = status end
Public Instance Methods
text(text)
click to toggle source
# File lib/gherkin/formatter/pretty_formatter.rb, line 130 def text(text) self.__send__(@status) + text + reset end