rack_dav 0.1.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,22 +0,0 @@
1
-
2
- module Builder
3
-
4
- class XmlBase
5
- def namespace(ns)
6
- old_namespace = @namespace
7
- @namespace = ns
8
- yield
9
- @namespace = old_namespace
10
- self
11
- end
12
-
13
- alias_method :method_missing_without_namespace, :method_missing
14
-
15
- def method_missing(sym, *args, &block)
16
- sym = "#{@namespace}:#{sym}" if @namespace
17
- method_missing_without_namespace(sym, *args, &block)
18
- end
19
-
20
- end
21
-
22
- end