dynarex-parser 0.2.3 → 0.2.4

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/dynarex-parser.rb +7 -4
  2. metadata +1 -1
@@ -9,7 +9,13 @@ class DynarexParser
9
9
  def initialize(s)
10
10
  @a = parse(s)
11
11
  end
12
-
12
+
13
+ def to_a()
14
+ @a
15
+ end
16
+
17
+ private
18
+
13
19
  def parse(s)
14
20
 
15
21
  s.instance_eval{
@@ -33,7 +39,4 @@ class DynarexParser
33
39
  [root_name, "", {}, [*summary], ['records', "",{}, *records]]
34
40
  end
35
41
 
36
- def to_a()
37
- @a
38
- end
39
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors: []
7
7