Closed guilhermesilveira closed 13 years ago
there is a reason to not implement this: the []= method for adding namespaces to xml output would be impossible to be executed.
closing due to reason posted above and no discussion followed
just uploaded the method ns for namespace declaration. branch dsl it also includes the full dsl support discussed on the mailing list
In this patch, there is another version of the dsl that is backward compatible and gives less noise on the dsl. This approach is Ruby 1.8.7+ compatible. Both json and xml have been changed to support it (applying changes to the builder base). Usage example:
In 1.9.2 the method id has been dropped so it is even simpler.