Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/ezgit/string.rb,
lib/ezgit/string_no_color.rb
Instance Method Summary collapse
- #black ⇒ Object
- #blue ⇒ Object
- #bold ⇒ Object
- #cyan ⇒ Object
- #green ⇒ Object
- #magenta ⇒ Object
- #red ⇒ Object
- #white ⇒ Object
- #yellow ⇒ Object
Instance Method Details
#black ⇒ Object
18 19 20 |
# File 'lib/ezgit/string.rb', line 18 def black BLACK + self + CLEAR end |
#blue ⇒ Object
34 35 36 |
# File 'lib/ezgit/string.rb', line 34 def blue BLUE + self + CLEAR end |
#bold ⇒ Object
14 15 16 |
# File 'lib/ezgit/string.rb', line 14 def bold BOLD+ self + CLEAR end |
#cyan ⇒ Object
42 43 44 |
# File 'lib/ezgit/string.rb', line 42 def cyan CYAN + self + CLEAR end |
#green ⇒ Object
26 27 28 |
# File 'lib/ezgit/string.rb', line 26 def green GREEN + self + CLEAR end |
#magenta ⇒ Object
38 39 40 |
# File 'lib/ezgit/string.rb', line 38 def magenta MAGENTA + self + CLEAR end |
#red ⇒ Object
22 23 24 |
# File 'lib/ezgit/string.rb', line 22 def red RED + self + CLEAR end |
#white ⇒ Object
46 47 48 |
# File 'lib/ezgit/string.rb', line 46 def white WHITE + self + CLEAR end |
#yellow ⇒ Object
30 31 32 |
# File 'lib/ezgit/string.rb', line 30 def yellow YELLOW + self + CLEAR end |