Added coloured output to Ruby, Python and Lua examples

This commit is contained in:
James Booth
2014-06-11 21:34:37 +01:00
parent 4ccbeb99ae
commit 2cf98ce8c4
3 changed files with 12 additions and 0 deletions

View File

@@ -107,6 +107,10 @@ module RubyTest
def self.handle_lower()
return Proc.new { | win, line |
Prof::win_show(win, line.downcase)
Prof::win_show_red(win, "Red")
Prof::win_show_yellow(win, "Yellow")
Prof::win_show_green(win, "Green")
Prof::win_show_cyan(win, "Cyan")
}
end
end