Class: Cucumber::Deprecate::AnsiString

Inherits:
Object
  • Object
show all
Includes:
Gherkin::Formatter::AnsiEscapes
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/deprecate.rb

Constant Summary

Constants included from Gherkin::Formatter::AnsiEscapes

Gherkin::Formatter::AnsiEscapes::ALIASES, Gherkin::Formatter::AnsiEscapes::COLORS

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Gherkin::Formatter::AnsiEscapes

#reset, #up

Class Method Details

.failure_message(message) ⇒ Object



11
12
13
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/deprecate.rb', line 11

def self.failure_message(message)
  AnsiString.new.failure_message(message)
end

Instance Method Details

#failure_message(message) ⇒ Object



15
16
17
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/deprecate.rb', line 15

def failure_message(message)
  failed + message + reset
end