method

ensure_iteration_allowed

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: EachTimeWithZone
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 15
      def ensure_iteration_allowed
        raise TypeError, "can't iterate from #{first.class}" if first.is_a?(Time)
      end
Register or log in to add new notes.