rexle-builder 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rexle-builder.rb +1 -1
- metadata +1 -1
data/lib/rexle-builder.rb
CHANGED
@@ -14,7 +14,7 @@ class RexleBuilder
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def method_missing(sym, *args)
|
17
|
-
args << '' if args.
|
17
|
+
args << '' if args.last.is_a? Hash
|
18
18
|
value, attributes = args.reverse
|
19
19
|
a = [sym.to_s.sub(/^cdata!$/,'!['), value || '', attributes || {}]
|
20
20
|
@current_a << a
|