Class: CfScript::Config::UI

Inherits:
Object
  • Object
show all
Defined in:
lib/cf_script/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUI

Returns a new instance of UI.



28
29
30
31
32
# File 'lib/cf_script/config.rb', line 28

def initialize
  @tags  = true
  @emoji = false
  @color = true
end

Instance Attribute Details

#colorObject

Special case for String.disable_colorization



26
27
28
# File 'lib/cf_script/config.rb', line 26

def color
  @color
end

#emojiObject

Returns the value of attribute emoji.



25
26
27
# File 'lib/cf_script/config.rb', line 25

def emoji
  @emoji
end

#tagsObject

Returns the value of attribute tags.



24
25
26
# File 'lib/cf_script/config.rb', line 24

def tags
  @tags
end