Method: PuppetfileEditor::Logging#initialize
- Defined in:
- lib/puppetfile_editor/cli.rb
#initialize ⇒ Logging
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Logging.
111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/puppetfile_editor/cli.rb', line 111 def initialize @statuses = { updated: "[ \e[32;1m+\e[0m ]", matched: "[ \e[0;1m=\e[0m ]", skipped: "[ \e[33;1m~\e[0m ]", not_found: "[ \e[0;1m-\e[0m ]", type_mismatched: "[ \e[31;1mx\e[0m ]", wont_upgrade: "[ \e[33;1m!\e[0m ]", warn: "[ \e[31;1m!!\e[0m ]", undef: '', } end |