line-tree 0.3.1 → 0.3.2

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/line-tree.rb +3 -1
  2. metadata +1 -1
data/lib/line-tree.rb CHANGED
@@ -9,7 +9,9 @@ class LineTree
9
9
  attr_reader :to_a
10
10
 
11
11
  def initialize(lines) @to_a = scan_shift(lines) end
12
- def to_xml() Rexle.new(scan_a(*@to_a)).xml end
12
+ def to_xml(options={})
13
+ Rexle.new(scan_a(*@to_a)).xml(options)
14
+ end
13
15
 
14
16
  private
15
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors: []
7
7