particion_lista 0.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/particion_lista.rb +5 -0
  3. metadata +42 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fa954d3afa70ee933ba597bfe6da27ff03d41e38a18bd5b0f42daf3893b88d5d
4
+ data.tar.gz: db359731a0fcb2616da2edbbc0a221084f5cb04269221d474d4f7c6461300c6e
5
+ SHA512:
6
+ metadata.gz: bcf11387d6348603e3f728a1cf599cd640091cff8f751c78459eb598c067d45bcb83a1738623bc82217497a0d2a5d98aeb0ddaa66e832abca1811d8a82bbae6c
7
+ data.tar.gz: 220fb833004e70b7d9d79a3624728a23596c229d24b2ac96b292d5478de9d74d283d73f2ecd669df6788ec174b9b2c394d7ca02e78fd8a709ab330298c146524
@@ -0,0 +1,5 @@
1
+ class Array
2
+ def split_by_parity
3
+ partition(&:even?)
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,42 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: particion_lista
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Parity Technologies
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-01 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Particion de una lista
14
+ email: asincal@fidelis.com.gt
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/particion_lista.rb
20
+ homepage:
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubygems_version: 3.4.8
39
+ signing_key:
40
+ specification_version: 4
41
+ summary: Particion de una lista
42
+ test_files: []