phrase_assembler 1.2.1 → 1.2.2

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/pa_proxies/pa_proxy_data.rb +8 -0
  2. metadata +3 -3
@@ -32,6 +32,14 @@ class PAProxyData
32
32
  out_array
33
33
  end
34
34
 
35
+ def length
36
+ if @data.is_a? Array
37
+ return @data.length
38
+ else
39
+ raise 'Not an array'
40
+ end
41
+ end
42
+
35
43
  def [](index)
36
44
  if @data.is_a? Array
37
45
  if index == :r
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrase_assembler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Lovro \xC5\xBDmak, Radan Skori\xC4\x87, Drap"