dynarex-parser 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
  1. data/lib/dynarex-parser.rb +6 -1
  2. metadata +2 -2
@@ -5,7 +5,12 @@
5
5
  require 'recordx-parser'
6
6
 
7
7
  class DynarexParser < RecordxParser
8
+
8
9
  def initialize(s)
9
- @a = super(s){|x| RexleParser.new(x).to_a}
10
+ @a = parse(s)
10
11
  end
12
+
13
+ def fetch_records(a_records)
14
+ a_records.map {|x| RexleParser.new(x).to_a}
15
+ end
11
16
  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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-11-15 00:00:00 +00:00
12
+ date: 2010-11-16 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency