Module: AssLauncher::Cmd::Colorize Private
- Defined in:
- lib/ass_launcher/cmd.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Colorize string for console output It’s stupid wrapper for ColorizedString
Class Method Summary collapse
-
.colorized(mes) ⇒ Object
private
rubocop:enable Style/MethodMissing.
-
.method_missing(m, s) ⇒ Object
private
rubocop:disable Style/MethodMissing.
Class Method Details
.colorized(mes) ⇒ Object
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.
rubocop:enable Style/MethodMissing
21 22 23 |
# File 'lib/ass_launcher/cmd.rb', line 21 def self.colorized(mes) ColorizedString[mes] end |
.method_missing(m, s) ⇒ Object
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.
rubocop:disable Style/MethodMissing
16 17 18 |
# File 'lib/ass_launcher/cmd.rb', line 16 def self.method_missing(m, s) colorized(s).send(m) end |