lib/builder/xmlbase.rb in builder-2.1.1 vs lib/builder/xmlbase.rb in builder-2.1.2

- old
+ new

@@ -26,10 +26,10 @@ # Create a tag named +sym+. Other than the first argument which # is the tag name, the arguements are the same as the tags # implemented via <tt>method_missing</tt>. def tag!(sym, *args, &block) - self.__send__(sym, *args, &block) + method_missing(sym.to_sym, *args, &block) end # Create XML markup based on the name of the method. This method # is never invoked directly, but is called for each markup method # in the markup block.