Class: CfScript::Config::UI
- Inherits:
-
Object
- Object
- CfScript::Config::UI
- Defined in:
- lib/cf_script/config.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Special case for String.disable_colorization.
-
#emoji ⇒ Object
Returns the value of attribute emoji.
-
#tags ⇒ Object
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize ⇒ UI
constructor
A new instance of UI.
Constructor Details
#initialize ⇒ UI
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
#color ⇒ Object
Special case for String.disable_colorization
26 27 28 |
# File 'lib/cf_script/config.rb', line 26 def color @color end |
#emoji ⇒ Object
Returns the value of attribute emoji.
25 26 27 |
# File 'lib/cf_script/config.rb', line 25 def emoji @emoji end |
#tags ⇒ Object
Returns the value of attribute tags.
24 25 26 |
# File 'lib/cf_script/config.rb', line 24 def @tags end |