From 42ba2b763f001e86e2d41ddcadbb76f75a8b9e4a Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 15 Jul 2009 12:54:58 +0200 Subject: little fixes --- code/debug.rb | 6 +++--- data/apps.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/debug.rb b/code/debug.rb index 16481b67..85e82307 100644 --- a/code/debug.rb +++ b/code/debug.rb @@ -2,10 +2,10 @@ require 'pp' ## This module helps to debug by: ## 1. defining log functions which write data into any kind of stream -## rather than to STDOUT, and are seperated into fatal, error and normal -## messages. +## rather than to STDOUT, and are seperated into fatal, error and normal +## messages. ## 2. by defining assertion functions which raise an AssertionError -## if the assertion is false. +## if the assertion is false. ## 3. a couple of other nice things such as trace or bm (benchmark) ## ## use this with: diff --git a/data/apps.rb b/data/apps.rb index 019a9848..e6adaa06 100644 --- a/data/apps.rb +++ b/data/apps.rb @@ -6,7 +6,6 @@ module Application - ## def totem(files) starts the definition of totem def totem(files) ## this is the `case' statement. @@ -54,6 +53,7 @@ module Application when 1; "mplayer -sid 0 #{files}" when 2; "mplayer -vm sdl -sid 0 #{files}" when 3; "mplayer -mixer software #{files}" + when 4; "mplayer -vo caca #{files}" else nil end end -- cgit 1.4.1-2-gfad0