update.rb
This commit is contained in:
parent
d03f2687c5
commit
8a8e77d54f
2 changed files with 27 additions and 5 deletions
|
@ -11,6 +11,10 @@ module Color
|
|||
colorize(text, "32m")
|
||||
end
|
||||
|
||||
def yellow(text)
|
||||
colorize(text, "93m")
|
||||
end
|
||||
|
||||
def command(string)
|
||||
`#{string}`
|
||||
if $?.to_i > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue