Flowdock
method

ensure_iteration_allowed

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: Range
ensure_iteration_allowed() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/range/each.rb, line 18
  def ensure_iteration_allowed
    if first.is_a?(Time)
      raise TypeError, "can't iterate from #{first.class}"
    end
  end
Register or log in to add new notes.