Module: CyberarmEngine::Console::Style
- Defined in:
- lib/cyberarm_engine/console/command.rb
Class Method Summary collapse
- .error(string) ⇒ Object
- .highlight(string, color = "5555ff") ⇒ Object
- .notice(string) ⇒ Object
- .warn(string) ⇒ Object
Class Method Details
.error(string) ⇒ Object
6 7 8 |
# File 'lib/cyberarm_engine/console/command.rb', line 6 def self.error(string) "<c=ff5555>#{string}</c>" end |
.highlight(string, color = "5555ff") ⇒ Object
18 19 20 |
# File 'lib/cyberarm_engine/console/command.rb', line 18 def self.highlight(string, color = "5555ff") "<c=#{color}>#{string}</c>" end |
.notice(string) ⇒ Object
14 15 16 |
# File 'lib/cyberarm_engine/console/command.rb', line 14 def self.notice(string) "<c=55ff55>#{string}</c>" end |
.warn(string) ⇒ Object
10 11 12 |
# File 'lib/cyberarm_engine/console/command.rb', line 10 def self.warn(string) "<c=ff7700>#{string}</c>" end |