# File lib/rabl/helpers.rb, line 62 def is_collection?(obj) obj && data_object(obj).respond_to?(:map) && data_object(obj).respond_to?(:each) end