lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.19 vs lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.20
- old
+ new
@@ -1,4 +1,6 @@
+# encoding: utf-8
+
module TerminalNode
def to_method_name
self.gsub(/([a-z])([A-Z])/,'\1_\2').downcase.gsub(/[^\p{word}]/,'_')
end
end
\ No newline at end of file