Project
range_slice
== SYNOPSIS: (1..1000).slice(300) # => [1..300, 301..600, 601..900, 901..1000] require 'active_support' (7.days.ago..Time.now).slice(24.hours) # => [thu apr 10 17:48:08 -0700 2008..fri apr 11 17:48:07 -0700 2008, fri apr 11 17:48:08 -0700 2008..sat apr 12 17:48:07 -0700 2008, sat apr 12 17:48:08 -0700 2008..sun apr 13 17:48:07 -0700 2008, sun apr 13 17:48:08 -0700 2008..mon apr 14 17:48:07 -0700 2008, mon apr 14 17:48:08 -0700 2008..tue apr 15 17:48:07 -0700 2008, tue apr 15 17:48:08 -0700 2008..wed apr 16 17:48:07 -0700 2008, wed apr 16 17:48:08 -0700 2008..thu apr 17 17:48:07 -0700 2008, thu apr 17 17:48:08 -0700 2008..thu apr 17 17:48:08 -0700 2008] == INSTALL: * sudo gem install range_slice == LICENSE:
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Runtime
>= 1.5.1