mirror of
https://github.com/jimeh/time_ext.git
synced 2026-02-19 05:16:40 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ca929c6ae1 | |||
| edd828bb3e | |||
| 4afd3f84d5 |
@@ -75,7 +75,6 @@ module TimeExt
|
||||
def map_each(unit, options = {}, &block)
|
||||
iterate(unit, options.merge(:map_result => true), &block)
|
||||
end
|
||||
alias :map :map_each
|
||||
|
||||
# Executes passed block for each "unit" of time specified, returning an array with the return values from passed block. Additionally the time object passed into the block is set to the beginning of specified "unit".
|
||||
def map_beginning_of_each(unit, options = {}, &block)
|
||||
|
||||
Reference in New Issue
Block a user