method
each
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Result
each()public
No documentation available.
# File activerecord/lib/active_record/result.rb, line 49
def each
if block_given?
hash_rows.each { |row| yield row }
else
hash_rows.to_enum { @rows.size }
end
end