[Gridflow-cvs] [svn] commit: r3527 - /trunk/base/flow_objects.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 21:12:01 EDT 2008


Author: matju
Date: Tue Apr 15 21:12:01 2008
New Revision: 3527

Log:
removed [renamefile] and [ls]. good candidates to rewrite in Lua, if [shell] isn't already enough. ([shell] can be too slow depending on how 
often you need to use it)

Modified:
    trunk/base/flow_objects.rb

Modified: trunk/base/flow_objects.rb
==============================================================================
--- trunk/base/flow_objects.rb (original)
+++ trunk/base/flow_objects.rb Tue Apr 15 21:12:01 2008
@@ -22,12 +22,6 @@
 =end
 module GridFlow
 GridFlow = ::GridFlow # ruby is nuts... sometimes
-
-FObject.subclass("renamefile",1,0) {def initialize; end; def _0_list(a,b) File.rename(a.to_s,b.to_s) end}
-FObject.subclass("ls",1,1) {
-        def _0_symbol(s) send_out 0, :list, *Dir.new(s.to_s).map {|x| x.intern } end
-        def _0_glob  (s) send_out 0, :list, *Dir[    s.to_s].map {|x| x.intern } end
-}
 
 FObject.subclass("rubysprintf",2,1) {
   def initialize(*format) _1_list(format) end



More information about the Gridflow-cvs mailing list