Module: Nucleon::Mixin::Colors
- Included in:
- Core, Facade, Plugin::Action, Util::CLI::Parser
- Defined in:
- lib/core/mixin/colors.rb
Overview
-
See Nucleon::Util::Console
Instance Method Summary collapse
-
#black(string) ⇒ Object
Return a given string wrapped in black text markers.
-
#blue(string) ⇒ Object
Return a given string wrapped in blue text markers.
-
#cyan(string) ⇒ Object
Return a given string wrapped in cyan text markers.
-
#green(string) ⇒ Object
Return a given string wrapped in green text markers.
-
#grey(string) ⇒ Object
Return a given string wrapped in grey text markers.
-
#purple(string) ⇒ Object
Return a given string wrapped in purple text markers.
-
#red(string) ⇒ Object
Return a given string wrapped in red text markers.
-
#yellow(string) ⇒ Object
Return a given string wrapped in yellow text markers.
Instance Method Details
#black(string) ⇒ Object
Return a given string wrapped in black text markers.
See:
-
Nucleon::Util::Console::black
20 21 22 |
# File 'lib/core/mixin/colors.rb', line 20 def black(string) ::Nucleon::Util::Console.black(string) end |
#blue(string) ⇒ Object
Return a given string wrapped in blue text markers.
See:
-
Nucleon::Util::Console::blue
56 57 58 |
# File 'lib/core/mixin/colors.rb', line 56 def blue(string) ::Nucleon::Util::Console.blue(string) end |
#cyan(string) ⇒ Object
Return a given string wrapped in cyan text markers.
See:
-
Nucleon::Util::Console::cyan
74 75 76 |
# File 'lib/core/mixin/colors.rb', line 74 def cyan(string) ::Nucleon::Util::Console.cyan(string) end |
#green(string) ⇒ Object
Return a given string wrapped in green text markers.
See:
-
Nucleon::Util::Console::green
38 39 40 |
# File 'lib/core/mixin/colors.rb', line 38 def green(string) ::Nucleon::Util::Console.green(string) end |
#grey(string) ⇒ Object
Return a given string wrapped in grey text markers.
See:
-
Nucleon::Util::Console::grey
83 84 85 |
# File 'lib/core/mixin/colors.rb', line 83 def grey(string) ::Nucleon::Util::Console.grey(string) end |
#purple(string) ⇒ Object
Return a given string wrapped in purple text markers.
See:
-
Nucleon::Util::Console::purple
65 66 67 |
# File 'lib/core/mixin/colors.rb', line 65 def purple(string) ::Nucleon::Util::Console.purple(string) end |