essentials 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,8 +16,8 @@ module Enumerable
16
16
  item
17
17
  end.to_s
18
18
 
19
- alpha = basis[/\D+/].to_s
20
- digit = basis[/\d+/].to_i
19
+ alpha = basis.scan(/\D+/)
20
+ digit = basis.scan(/\d+/).map(&:to_i)
21
21
 
22
22
  [alpha, digit]
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: essentials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: