[cairo-commit] rcairo/src/lib cairo.rb,1.8,1.9

Kouhei Sutou commit at pdx.freedesktop.org
Wed May 23 06:02:53 PDT 2007


Committed by: kou

Update of /cvs/cairo/rcairo/src/lib
In directory kemper:/tmp/cvs-serv15046/src/lib

Modified Files:
	cairo.rb 
Log Message:
* src/lib/cairo.rb (Cairo.normalize_const_name): treated "." as
  ignore character.


Index: cairo.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo.rb,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo.rb	20 May 2007 02:45:40 -0000	1.8
+++ cairo.rb	23 May 2007 13:02:41 -0000	1.9
@@ -21,7 +21,7 @@
     end
 
     def normalize_const_name(name)
-      name.to_s.upcase.gsub(/[\s\-_]+/, "_")
+      name.to_s.upcase.gsub(/[\s\-_.]+/, "_")
     end
   end
 end



More information about the cairo-commit mailing list