Categories: None [Edit]
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:
Total
Ranking: 126,403 of 183,477
Downloads: 4,557
Daily
Ranking: 41,916 of 183,470
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
2,104 | 8,604,438 | hoe |
Owners
# | Gravatar | Handle |
---|---|---|
1 | bluetrust |