line-tree 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/line-tree.rb +1 -3
  2. metadata +1 -1
data/lib/line-tree.rb CHANGED
@@ -29,11 +29,9 @@ class LineTree
29
29
  history << new_a
30
30
  build_tree(a, new_a, 0, history)
31
31
 
32
- d = REXML::Formatters::Default.new
33
32
  doc = Document.new '<root/>'
34
33
  scan_line doc.root, new_a
35
- d.write(XPath.first(doc.root, '*'), out='')
36
- out
34
+ doc.to_s
37
35
  end
38
36
 
39
37
  private
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors: []
7
7