polyrex-parser 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyrex-parser.rb +6 -3
- metadata +1 -1
data/lib/polyrex-parser.rb
CHANGED
@@ -9,6 +9,12 @@ class PolyrexParser
|
|
9
9
|
def initialize(s)
|
10
10
|
@a = parse(s)
|
11
11
|
end
|
12
|
+
|
13
|
+
def to_a()
|
14
|
+
@a
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
12
18
|
|
13
19
|
def parse(s)
|
14
20
|
|
@@ -43,7 +49,4 @@ class PolyrexParser
|
|
43
49
|
[root_name, "", {}, [*summary], ['records', "",{}, *records]]
|
44
50
|
end
|
45
51
|
|
46
|
-
def to_a()
|
47
|
-
@a
|
48
|
-
end
|
49
52
|
end
|