module Kitchen::Pulumi::ConfigAttribute::Color
Attribute to toggle colored output from systems invoked by the plugin
Public Class Methods
included(plugin_class)
click to toggle source
# File lib/kitchen/pulumi/config_attribute/color.rb, line 14 def self.included(plugin_class) definer = ConfigAttributeDefiner.new( attribute: self, schema: ConfigSchemas::Boolean, ) definer.define(plugin_class: plugin_class) end
to_sym()
click to toggle source
# File lib/kitchen/pulumi/config_attribute/color.rb, line 22 def self.to_sym :color end
Public Instance Methods
config_color_default_value()
click to toggle source
# File lib/kitchen/pulumi/config_attribute/color.rb, line 28 def config_color_default_value ::Kitchen.tty? end