lib/rant/import/truth.rb in rant-0.3.6 vs lib/rant/import/truth.rb in rant-0.3.8
- old
+ new
@@ -3,17 +3,22 @@
# truth.rb - Import truth into rant ;)
#
# Copyright (C) 2005 Stefan Lang <langstefan@gmx.at>
module Rant
- module Worker
+ module Node
def %(desc)
@description = case @description
when nil: desc
when /\n$/: @description + desc
else "#@description\n#{desc}"
end
self
+ end
+ end
+ class RacFileList
+ def %(fu_sym)
+ @rac.cx.sys.send(fu_sym, to_ary)
end
end
end
module RantContext
def drag(name, *args, &block)