RubyGems
npm
Organizations
Log in
Sign up
RubyGems
polyrex-parser
Versions diffs
0.2.0 → 0.2.1
polyrex-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
data/lib/polyrex-parser.rb
+5
-1
metadata
+1
-1
data/lib/polyrex-parser.rb
CHANGED
Viewed
@@ -6,6 +6,10 @@ require 'recordx-parser'
6
6
7
7
class PolyrexParser < RecordxParser
8
8
def initialize(s)
9
-
@a =
super
(s)
{|x| parse(x)}
9
+
@a =
parse
(s)
10
+
end
11
+
12
+
def fetch_records(a_records)
13
+
a_records.map {|x| parse(x)}
10
14
end
11
15
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: polyrex-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