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

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


Author: matju
Date: Tue Apr 15 21:17:17 2008
New Revision: 3529

Log:
[rubysprintf] mostly duplicates [makesymbol] and/or [sprintf], except that they lack the %b option (for printing in base 2).

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:17:17 2008
@@ -23,15 +23,6 @@
 module GridFlow
 GridFlow = ::GridFlow # ruby is nuts... sometimes
 
-FObject.subclass("rubysprintf",2,1) {
-  def initialize(*format) _1_list(format) end
-  def _0_list(*a) send_out 0, :symbol, (sprintf @format, *a).intern end
-  alias _0_float _0_list
-  alias _0_symbol _0_list
-  def _1_list(*format) @format = format.join(" ") end
-  alias _1_symbol _1_list
-}
-
 # plotter control (HPGL)
 FObject.subclass("plotter_control",1,1) {
   def puts(x)



More information about the Gridflow-cvs mailing list