essentials 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: