Method: ActiveSupport::Deprecation::Deprecators#each
- Defined in:
- activesupport/lib/active_support/deprecation/deprecators.rb
#each(&block) ⇒ Object
Iterates over all deprecators in this collection. If no block is given, returns an Enumerator.
41 42 43 44 |
# File 'activesupport/lib/active_support/deprecation/deprecators.rb', line 41 def each(&block) return to_enum(__method__) unless block @deprecators.each_value(&block) end |