rexle-builder 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. data/lib/rexle-builder.rb +1 -1
  2. 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.first.is_a? Hash
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
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rexle-builder
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.5
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson