RubyGems
npm
Organizations
Log in
Sign up
RubyGems
line-tree
Versions diffs
0.2.0 → 0.2.1
line-tree 0.2.0 → 0.2.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/line-tree.rb
+3
-0
metadata
+1
-1
data/lib/line-tree.rb
CHANGED
Viewed
@@ -1,4 +1,7 @@
1
+
require 'rexml/document'
2
+
1
3
class LineTree
4
+
include REXML
2
5
3
6
def initialize(lines)
4
7
a = lines.split(/\r?\n|\r(?!\n)/)
metadata
CHANGED
Viewed
@@ -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.
0
4
+
version: 0.2.
1
5
5
platform: ruby
6
6
authors: []
7
7