Skip to content

codephilosopher/partition_magic

Repository files navigation

PartitionMagic

Welcome to PartitionMagic gem. This Library will help you to partition an array of inetegers to odd and even arrays. eg: [1,2,3,4,5,6].partition_even_odd(&:even?) [[2,4,6],[1,3,5]]

Install

gem install partition_magic

Usage

require 'partition_magic'

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •