Module: ActiveSupport::EachTimeWithZone
- Included in:
- Range
- Defined in:
- lib/active_support/core_ext/range/each.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#each(&block) ⇒ Object
7 8 9 10 |
# File 'lib/active_support/core_ext/range/each.rb', line 7 def each(&block) ensure_iteration_allowed super end |
#step(n = 1, &block) ⇒ Object
12 13 14 15 |
# File 'lib/active_support/core_ext/range/each.rb', line 12 def step(n = 1, &block) ensure_iteration_allowed super end |