polyrex 0.5.3 → 0.5.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/polyrex.rb +1 -1
  2. metadata +1 -1
data/lib/polyrex.rb CHANGED
@@ -185,7 +185,7 @@ class Polyrex
185
185
  end
186
186
 
187
187
  def tail_map(a)
188
- [a] + (a.length > 1 ? tail(a[0..-2]) : [])
188
+ [a] + (a.length > 1 ? tail_map(a[0..-2]) : [])
189
189
  end
190
190
 
191
191
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors: []
7
7