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