rack_dav 0.1.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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