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
3 4 5 6 |
# File 'lib/active_support/core_ext/range/each.rb', line 3 def each(&block) ensure_iteration_allowed super end |
#step(n = 1, &block) ⇒ Object
8 9 10 11 |
# File 'lib/active_support/core_ext/range/each.rb', line 8 def step(n = 1, &block) ensure_iteration_allowed super end |