Module: Kitchen::Pulumi::ConfigAttribute::Color

Extended by:
Kitchen::Pulumi::ConfigAttributeCacher
Included in:
Verifier::Pulumi
Defined in:
lib/kitchen/pulumi/config_attribute/color.rb

Overview

Attribute to toggle colored output from systems invoked by the plugin

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Kitchen::Pulumi::ConfigAttributeCacher

define_cache, extended

Class Method Details

.to_symObject


22
23
24
# File 'lib/kitchen/pulumi/config_attribute/color.rb', line 22

def self.to_sym
  :color
end

Instance Method Details

#config_color_default_valueObject


28
29
30
# File 'lib/kitchen/pulumi/config_attribute/color.rb', line 28

def config_color_default_value
  ::Kitchen.tty?
end